	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_handle_packet_dropped
_sctp_handle_packet_dropped:            ## @sctp_handle_packet_dropped
	.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	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movl	4(%rdi), %edi
	callq	_ntohs
	cmpl	$32, %eax
	jne	LBB0_4
## %bb.1:
	movq	_SCTP_FROM_MIDDLE_BOX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_2
## %bb.3:
	movq	_sctps_pdrpbwrpt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR
LBB0_2:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_4:
	movl	%eax, %ebx
	movq	24(%r13), %r15
	addq	$4, %r15
	addl	$-36, %ebx
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
LBB0_5:
	movl	16(%r13), %edi
	callq	_ntohs
	testq	%r15, %r15
	je	LBB0_23
## %bb.6:
	cmpl	$16, %ebx
	jb	LBB0_23
## %bb.7:
	movl	%eax, %eax
	cmpq	%r14, %rax
	cmovlq	%rax, %r14
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	sete	%r12b
	movq	(%r15), %rax
	movq	%rax, -88(%rbp)
	movl	8(%r15), %edi
	callq	_ntohs
	movl	%eax, %r14d
	cmpl	%ebx, %eax
	seta	%al
	cmpl	$16, %r14d
	jb	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	andb	%al, %r12b
	jne	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-88(%rbp), %rcx
	movq	_SCTP_FROM_MIDDLE_BOX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r13), %eax
	movq	_SCTP_DATA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_sctps_pdrpmbda@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rax
	movl	4(%r15), %ecx
	movl	%ecx, (%rax)
	movl	8(%r15), %ecx
	movl	%ecx, 4(%rax)
	movl	12(%r15), %ecx
	movl	%ecx, 8(%rax)
	movl	16(%r15), %ecx
	movl	%ecx, 12(%rax)
	movl	20(%r15), %ecx
	movl	%ecx, 16(%rax)
	movl	24(%r15), %ecx
	movl	%ecx, 20(%rax)
	movl	28(%r15), %ecx
	movl	%ecx, 24(%rax)
	movl	32(%r15), %ecx
	movl	%ecx, 28(%rax)
	movl	(%r15), %eax
	movl	%eax, -80(%rbp)
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_sctps_pdrpmbct@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r13), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	-88(%rbp), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_process_chunk_drop
	testq	%rax, %rax
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %edi
	callq	_SCTP_SIZE32
	cmpl	%ebx, %eax
	ja	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %edi
	callq	_SCTP_SIZE32
	subl	%eax, %ebx
	cmpl	$16, %ebx
	jb	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %edi
	callq	_SCTP_SIZE32
	movl	%eax, %eax
	addq	%rax, %r15
	jne	LBB0_8
	jmp	LBB0_23
LBB0_9:
	movq	_sctps_pdrpcrupt@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_19:
	movq	_sctps_pdrppdbrk@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR
LBB0_23:
	movq	_SCTP_FROM_MIDDLE_BOX@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%r13)
	je	LBB0_24
## %bb.29:
	movq	_sctps_pdrpfmbox@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR
LBB0_30:
	movl	(%r14), %eax
	testl	%eax, (%r13)
	je	LBB0_34
## %bb.31:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	jne	LBB0_34
## %bb.32:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 32(%rax)
	je	LBB0_34
## %bb.33:
	leaq	-104(%rbp), %rcx
	leaq	-96(%rbp), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	*24(%rdi)
LBB0_34:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_sctps_pdrpfehos@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR
	movl	12(%r13), %edi
	callq	_ntohl
	movq	%rax, %rbx
	movq	%rax, -104(%rbp)
	movl	8(%r13), %edi
	callq	_ntohl
	movq	%rax, -96(%rbp)
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.25:
	testq	%rax, %rax
	je	LBB0_30
## %bb.26:
	subq	%rax, %rbx
	jle	LBB0_27
## %bb.28:
	xorl	%eax, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subq	8(%rdx), %rbx
	cmovleq	%rax, %rbx
	movq	%rbx, (%rdx)
	movq	40(%rdx), %rcx
	cmpq	(%rcx), %rbx
	cmovlq	%rax, %rbx
	movq	%rbx, (%rdx)
	jmp	LBB0_30
LBB0_27:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_FROM_MIDDLE_BOX,4,2       ## @SCTP_FROM_MIDDLE_BOX
	.comm	_sctps_pdrpbwrpt,4,2            ## @sctps_pdrpbwrpt
	.comm	_sctps_pdrpcrupt,4,2            ## @sctps_pdrpcrupt
	.comm	_SCTP_DATA,8,3                  ## @SCTP_DATA
	.comm	_sctps_pdrpmbda,4,2             ## @sctps_pdrpmbda
	.comm	_sctps_pdrpnedat,4,2            ## @sctps_pdrpnedat
	.comm	_sctps_pdrpmbct,4,2             ## @sctps_pdrpmbct
	.comm	_sctps_pdrppdbrk,4,2            ## @sctps_pdrppdbrk
	.comm	_sctps_pdrpfehos,4,2            ## @sctps_pdrpfehos
	.comm	_sctps_pdrpfmbox,4,2            ## @sctps_pdrpfmbox
	.no_dead_strip	_sctp_handle_packet_dropped
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_handle_packet_dropped
_sctp_handle_packet_dropped:            ; @sctp_handle_packet_dropped
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_ntohs
Lloh0:
	adrp	x23, _SCTP_FROM_MIDDLE_BOX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SCTP_FROM_MIDDLE_BOX@GOTPAGEOFF]
	cmp	w0, #32
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _sctps_pdrpbwrpt@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sctps_pdrpbwrpt@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR
LBB0_3:
	mov	x24, #0
	mov	w25, #0
	b	LBB0_5
LBB0_4:
	ldr	x8, [x20, #24]
	add	x24, x8, #4
	sub	w25, w0, #36
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
LBB0_5:
	ldr	w0, [x20, #16]
	bl	_ntohs
	cmp	x24, #0
	ccmp	w25, #16, #0, ne
	b.lo	LBB0_21
; %bb.6:
	mov	w8, w0
	cmp	x8, x22
	csel	x27, x8, x22, lt
Lloh5:
	adrp	x8, _sctps_pdrpcrupt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sctps_pdrpcrupt@GOTPAGEOFF]
	str	x8, [sp]                        ; 8-byte Folded Spill
Lloh7:
	adrp	x28, _SCTP_DATA@GOTPAGE
Lloh8:
	ldr	x28, [x28, _SCTP_DATA@GOTPAGEOFF]
Lloh9:
	adrp	x26, _sctps_pdrpmbct@GOTPAGE
Lloh10:
	ldr	x26, [x26, _sctps_pdrpmbct@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	str	x8, [sp, #8]
	ldr	w0, [x24, #8]
	bl	_ntohs
	cmp	x27, #0
	ccmp	w0, w25, #0, eq
	cset	w8, hi
	cmp	w0, #16
	b.lo	LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	tbnz	w8, #0, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x22, x0
	ldr	x9, [sp, #8]
	ldr	x10, [x28]
	ldr	w8, [x20]
	ldr	w11, [x23]
	and	w8, w11, w8
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh11:
	adrp	x8, _sctps_pdrpmbda@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sctps_pdrpmbda@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #24]
	ldr	w9, [x24, #4]
	str	w9, [x8]
	ldr	w9, [x24, #8]
	str	w9, [x8, #4]
	ldr	w9, [x24, #12]
	str	w9, [x8, #8]
	ldr	w9, [x24, #16]
	str	w9, [x8, #12]
	ldr	w9, [x24, #20]
	str	w9, [x8, #16]
	ldr	w9, [x24, #24]
	str	w9, [x8, #20]
	ldr	w9, [x24, #28]
	str	w9, [x8, #24]
	ldr	w9, [x24, #32]
	str	w9, [x8, #28]
	ldr	w8, [x24]
	str	w8, [sp, #16]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x26]
	bl	_SCTP_STAT_INCR
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w3, [x20]
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x19
	bl	_process_chunk_drop
	cbnz	x0, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_SCTP_SIZE32
	cmp	w0, w25
	b.hi	LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_SCTP_SIZE32
	sub	w25, w25, w0
	cmp	w25, #16
	b.lo	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_SCTP_SIZE32
	adds	x24, x24, w0, uxtw
	b.ne	LBB0_7
	b	LBB0_21
LBB0_19:
Lloh14:
	adrp	x8, _sctps_pdrppdbrk@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sctps_pdrppdbrk@GOTPAGEOFF]
	str	x8, [sp]                        ; 8-byte Folded Spill
LBB0_20:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR
LBB0_21:
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.22:
Lloh16:
	adrp	x8, _sctps_pdrpfmbox@GOTPAGE
Lloh17:
	ldr	x8, [x8, _sctps_pdrpfmbox@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR
LBB0_23:
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.24:
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_27
; %bb.25:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_27
; %bb.26:
	ldr	x8, [x21, #24]
	add	x3, sp, #40
	add	x4, sp, #32
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	blr	x8
LBB0_27:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_28:
Lloh19:
	adrp	x8, _sctps_pdrpfehos@GOTPAGE
Lloh20:
	ldr	x8, [x8, _sctps_pdrpfehos@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR
	ldr	w0, [x20, #12]
	bl	_ntohl
	mov	x22, x0
	str	x0, [sp, #40]
	ldr	w0, [x20, #8]
	bl	_ntohl
	str	x0, [sp, #32]
	cbz	x22, LBB0_23
; %bb.29:
	cbz	x0, LBB0_23
; %bb.30:
	subs	x8, x22, x0
	b.le	LBB0_32
; %bb.31:
	ldr	x9, [x21, #8]
	subs	x8, x8, x9
	csel	x8, x8, xzr, gt
	str	x8, [x21]
	ldr	x9, [x21, #40]
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x8, xzr, x8, lt
	str	x8, [x21]
	b	LBB0_23
LBB0_32:
	str	xzr, [x21]
	b	LBB0_23
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_FROM_MIDDLE_BOX,4,2       ; @SCTP_FROM_MIDDLE_BOX
	.comm	_sctps_pdrpbwrpt,4,2            ; @sctps_pdrpbwrpt
	.comm	_sctps_pdrpcrupt,4,2            ; @sctps_pdrpcrupt
	.comm	_SCTP_DATA,8,3                  ; @SCTP_DATA
	.comm	_sctps_pdrpmbda,4,2             ; @sctps_pdrpmbda
	.comm	_sctps_pdrpnedat,4,2            ; @sctps_pdrpnedat
	.comm	_sctps_pdrpmbct,4,2             ; @sctps_pdrpmbct
	.comm	_sctps_pdrppdbrk,4,2            ; @sctps_pdrppdbrk
	.comm	_sctps_pdrpfehos,4,2            ; @sctps_pdrpfehos
	.comm	_sctps_pdrpfmbox,4,2            ; @sctps_pdrpfmbox
	.no_dead_strip	_sctp_handle_packet_dropped
.subsections_via_symbols
