	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_rcv                       ## -- Begin function sctp_rcv
	.p2align	4, 0x90
_sctp_rcv:                              ## @sctp_rcv
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, -104(%rbp)
	movq	(%rdi), %rax
	movq	_PACKET_HOST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
## %bb.1:
	movq	_SCTP_MIB_INSCTPPACKS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_INC_STATS_BH
	movq	%rbx, %rdi
	callq	_skb_linearize
	testq	%rax, %rax
	jne	LBB0_34
## %bb.2:
	movq	%rbx, %rdi
	callq	_sctp_hdr
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_skb_transport_offset
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	___skb_pull
	cmpl	$4, 8(%rbx)
	jb	LBB0_34
## %bb.3:
	movq	_sctp_checksum_disable@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_skb_csum_unnecessary
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_sctp_rcv_checksum
	testq	%rax, %rax
	js	LBB0_34
LBB0_6:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_pull
	cmpl	$4, 8(%rbx)
	jb	LBB0_34
## %bb.7:
	movq	%rbx, %rdi
	callq	_ip_hdr
	movl	(%rax), %edi
	callq	_ipver2af
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_sctp_get_af_specific
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
LBB0_34:
	movq	_SCTP_MIB_IN_PKT_DISCARDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_INC_STATS_BH
	movq	%rbx, %rdi
	callq	_kfree_skb
LBB0_42:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	-72(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	*16(%r15)
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	*16(%r15)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	*8(%r15)
	testl	%eax, %eax
	je	LBB0_34
## %bb.9:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	*8(%r15)
	testl	%eax, %eax
	je	LBB0_34
## %bb.10:
	leaq	-72(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-104(%rbp), %rcx
	movq	%rbx, %rdi
	callq	___sctp_rcv_lookup
	movq	%rax, %rdi
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_12:
	movq	%rdi, %r12
	leaq	-48(%rbp), %rdi
	callq	___sctp_rcv_lookup_endpoint
	movq	%r12, %rdi
LBB0_13:
	testq	%rdi, %rdi
	movq	%rdi, %rcx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmoveq	%rax, %rcx
	movq	8(%rcx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r12
	testq	%r12, %r12
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_19
## %bb.14:
	movq	%rbx, %rdi
	callq	*(%r15)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rax, %r12
	jne	LBB0_15
LBB0_19:
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.23:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_15:
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_sctp_association_put
	jmp	LBB0_18
LBB0_20:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r15
	jmp	LBB0_21
LBB0_17:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_sctp_endpoint_put
LBB0_18:
	xorl	%eax, %eax
	callq	_sctp_get_ctl_sock
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_sctp_sk
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_sctp_endpoint_hold
	movq	%r15, %r12
LBB0_21:
	movq	%rbx, %rdi
	callq	_sctp_rcv_ootb
	testq	%rax, %rax
	je	LBB0_22
## %bb.39:
	movq	_SCTP_MIB_OUTOFBLUES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_INC_STATS_BH
	jmp	LBB0_40
LBB0_22:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movb	$1, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_24:
	movq	_XFRM_POLICY_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	movq	%rdi, %r13
	callq	_xfrm_policy_check
	testl	%eax, %eax
	je	LBB0_32
## %bb.25:
	movq	%rbx, %rdi
	callq	_nf_reset
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_sk_filter
	testq	%rax, %rax
	je	LBB0_26
LBB0_32:
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_33
LBB0_40:
	movq	%r12, %rdi
	callq	_sctp_endpoint_put
	jmp	LBB0_34
LBB0_33:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sctp_association_put
	jmp	LBB0_34
LBB0_26:
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_sctp_chunkify
	testq	%rax, %rax
	je	LBB0_32
## %bb.27:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_SCTP_INPUT_CB
	movq	%r15, (%rax)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r15)
	movq	%r14, 16(%r15)
	movq	%rax, %r14
	leaq	-72(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sctp_init_addrs
	movq	-104(%rbp), %rax
	movq	%rax, 8(%r15)
	movq	%r13, %rdi
	callq	_sctp_bh_lock_sock
	cmpq	8(%r14), %r13
	je	LBB0_29
## %bb.28:
	movq	%r13, %rdi
	callq	_sctp_bh_unlock_sock
	movq	8(%r14), %r13
	movq	%r13, %rdi
	callq	_sctp_bh_lock_sock
LBB0_29:
	movq	%r13, %rdi
	callq	_sock_owned_by_user
	testq	%rax, %rax
	je	LBB0_36
## %bb.30:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_sctp_add_backlog
	testq	%rax, %rax
	je	LBB0_35
## %bb.31:
	movq	%r13, %rdi
	callq	_sctp_bh_unlock_sock
	movq	%r15, %rdi
	callq	_sctp_chunk_free
	xorl	%ebx, %ebx
	jmp	LBB0_32
LBB0_36:
	movq	_SCTP_MIB_IN_PKT_SOFTIRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_INC_STATS_BH
	movq	(%r15), %rdi
	movq	%r15, %rsi
	callq	_sctp_inq_push
	jmp	LBB0_37
LBB0_35:
	movq	_SCTP_MIB_IN_PKT_BACKLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_INC_STATS_BH
LBB0_37:
	movq	%r13, %rdi
	callq	_sctp_bh_unlock_sock
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_38
## %bb.41:
	movq	%r12, %rdi
	callq	_sctp_endpoint_put
	jmp	LBB0_42
LBB0_38:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sctp_association_put
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_HOST,8,3                ## @PACKET_HOST
	.comm	_SCTP_MIB_INSCTPPACKS,4,2       ## @SCTP_MIB_INSCTPPACKS
	.comm	_sctp_checksum_disable,4,2      ## @sctp_checksum_disable
	.comm	_SCTP_MIB_OUTOFBLUES,4,2        ## @SCTP_MIB_OUTOFBLUES
	.comm	_XFRM_POLICY_IN,4,2             ## @XFRM_POLICY_IN
	.comm	_SCTP_MIB_IN_PKT_BACKLOG,4,2    ## @SCTP_MIB_IN_PKT_BACKLOG
	.comm	_SCTP_MIB_IN_PKT_SOFTIRQ,4,2    ## @SCTP_MIB_IN_PKT_SOFTIRQ
	.comm	_SCTP_MIB_IN_PKT_DISCARDS,4,2   ## @SCTP_MIB_IN_PKT_DISCARDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_rcv                       ; -- Begin function sctp_rcv
	.p2align	2
_sctp_rcv:                              ; @sctp_rcv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	str	xzr, [sp, #24]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PACKET_HOST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PACKET_HOST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _SCTP_MIB_INSCTPPACKS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_MIB_INSCTPPACKS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SCTP_INC_STATS_BH
	mov	x0, x19
	bl	_skb_linearize
	cbnz	x0, LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_sctp_hdr
	mov	x20, x0
	mov	x0, x19
	bl	_skb_transport_offset
	mov	x1, x0
	mov	x0, x19
	bl	___skb_pull
	ldr	w8, [x19, #8]
	cmp	w8, #4
	b.lo	LBB0_8
; %bb.3:
Lloh6:
	adrp	x8, _sctp_checksum_disable@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sctp_checksum_disable@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbnz	w8, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_skb_csum_unnecessary
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_sctp_rcv_checksum
	tbnz	x0, #63, LBB0_8
LBB0_6:
	mov	x0, x19
	mov	w1, #4
	bl	_skb_pull
	ldr	w8, [x19, #8]
	cmp	w8, #4
	b.lo	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_ip_hdr
	ldr	w0, [x0]
	bl	_ipver2af
	mov	x24, x0
	bl	_sctp_get_af_specific
	mov	x25, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_10
LBB0_8:
Lloh9:
	adrp	x8, _SCTP_MIB_IN_PKT_DISCARDS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCTP_MIB_IN_PKT_DISCARDS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_SCTP_INC_STATS_BH
	mov	x0, x19
	bl	_kfree_skb
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
	ldr	x8, [x25, #16]
	add	x0, sp, #16
	mov	x1, x19
	mov	w2, #1
	blr	x8
	ldr	x8, [x25, #16]
	add	x0, sp, #8
	mov	x1, x19
	mov	w2, #0
	blr	x8
	ldr	x8, [x25, #8]
	add	x0, sp, #16
	mov	x1, #0
	mov	x2, x19
	blr	x8
	cbz	w0, LBB0_8
; %bb.11:
	ldr	x8, [x25, #8]
	add	x0, sp, #8
	mov	x1, #0
	mov	x2, x19
	blr	x8
	cbz	w0, LBB0_8
; %bb.12:
	add	x1, sp, #16
	add	x2, sp, #8
	add	x3, sp, #24
	mov	x0, x19
	bl	___sctp_rcv_lookup
	mov	x22, x0
	cbz	x0, LBB0_14
; %bb.13:
	mov	x21, #0
	b	LBB0_15
LBB0_14:
	add	x0, sp, #8
	bl	___sctp_rcv_lookup_endpoint
	mov	x21, x0
LBB0_15:
	cmp	x22, #0
	csel	x8, x21, x22, eq
	ldr	x23, [x8, #8]
	ldr	x26, [x23]
	cbz	x26, LBB0_17
; %bb.16:
	ldr	x8, [x25]
	mov	x0, x19
	blr	x8
	cmp	x26, x0
	b.ne	LBB0_19
LBB0_17:
	cbz	x22, LBB0_21
; %bb.18:
	mov	w26, #0
	mov	x25, x22
	b	LBB0_27
LBB0_19:
	cbz	x22, LBB0_22
; %bb.20:
	mov	x0, x22
	bl	_sctp_association_put
	b	LBB0_23
LBB0_21:
	mov	x25, x21
	b	LBB0_24
LBB0_22:
	mov	x0, x21
	bl	_sctp_endpoint_put
LBB0_23:
	bl	_sctp_get_ctl_sock
	mov	x23, x0
	bl	_sctp_sk
	ldr	x25, [x0]
	mov	x0, x25
	bl	_sctp_endpoint_hold
	mov	x21, x25
LBB0_24:
	mov	x0, x19
	bl	_sctp_rcv_ootb
	cbz	x0, LBB0_26
; %bb.25:
Lloh12:
	adrp	x8, _SCTP_MIB_OUTOFBLUES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCTP_MIB_OUTOFBLUES@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_SCTP_INC_STATS_BH
	b	LBB0_30
LBB0_26:
	mov	x22, #0
	mov	w26, #1
LBB0_27:
Lloh15:
	adrp	x8, _XFRM_POLICY_IN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _XFRM_POLICY_IN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x19
	mov	x3, x24
	bl	_xfrm_policy_check
	cbz	w0, LBB0_29
; %bb.28:
	mov	x0, x19
	bl	_nf_reset
	mov	x0, x23
	mov	x1, x19
	bl	_sk_filter
	cbz	x0, LBB0_31
LBB0_29:
	tbz	w26, #0, LBB0_37
LBB0_30:
	mov	x0, x21
	bl	_sctp_endpoint_put
	b	LBB0_8
LBB0_31:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_sctp_chunkify
	cbz	x0, LBB0_29
; %bb.32:
	mov	x24, x0
	mov	x0, x19
	bl	_SCTP_INPUT_CB
	str	x24, [x0]
	str	x25, [x24]
	str	x20, [x24, #16]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x24
	bl	_sctp_init_addrs
	ldr	x8, [sp, #24]
	str	x8, [x24, #8]
	mov	x0, x23
	bl	_sctp_bh_lock_sock
	ldr	x8, [x25, #8]
	cmp	x23, x8
	b.eq	LBB0_34
; %bb.33:
	mov	x0, x23
	bl	_sctp_bh_unlock_sock
	ldr	x23, [x25, #8]
	mov	x0, x23
	bl	_sctp_bh_lock_sock
LBB0_34:
	mov	x0, x23
	bl	_sock_owned_by_user
	cbz	x0, LBB0_38
; %bb.35:
	mov	x0, x23
	mov	x1, x19
	bl	_sctp_add_backlog
	cbz	x0, LBB0_39
; %bb.36:
	mov	x0, x23
	bl	_sctp_bh_unlock_sock
	mov	x0, x24
	bl	_sctp_chunk_free
	mov	x19, #0
	tbnz	w26, #0, LBB0_30
LBB0_37:
	mov	x0, x22
	bl	_sctp_association_put
	b	LBB0_8
LBB0_38:
Lloh18:
	adrp	x8, _SCTP_MIB_IN_PKT_SOFTIRQ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCTP_MIB_IN_PKT_SOFTIRQ@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_SCTP_INC_STATS_BH
	ldr	x0, [x24]
	mov	x1, x24
	bl	_sctp_inq_push
	b	LBB0_40
LBB0_39:
Lloh21:
	adrp	x8, _SCTP_MIB_IN_PKT_BACKLOG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SCTP_MIB_IN_PKT_BACKLOG@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_SCTP_INC_STATS_BH
LBB0_40:
	mov	x0, x23
	bl	_sctp_bh_unlock_sock
	tbz	w26, #0, LBB0_42
; %bb.41:
	mov	x0, x21
	bl	_sctp_endpoint_put
	b	LBB0_9
LBB0_42:
	mov	x0, x22
	bl	_sctp_association_put
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_HOST,8,3                ; @PACKET_HOST
	.comm	_SCTP_MIB_INSCTPPACKS,4,2       ; @SCTP_MIB_INSCTPPACKS
	.comm	_sctp_checksum_disable,4,2      ; @sctp_checksum_disable
	.comm	_SCTP_MIB_OUTOFBLUES,4,2        ; @SCTP_MIB_OUTOFBLUES
	.comm	_XFRM_POLICY_IN,4,2             ; @XFRM_POLICY_IN
	.comm	_SCTP_MIB_IN_PKT_BACKLOG,4,2    ; @SCTP_MIB_IN_PKT_BACKLOG
	.comm	_SCTP_MIB_IN_PKT_SOFTIRQ,4,2    ; @SCTP_MIB_IN_PKT_SOFTIRQ
	.comm	_SCTP_MIB_IN_PKT_DISCARDS,4,2   ; @SCTP_MIB_IN_PKT_DISCARDS
.subsections_via_symbols
