	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_cwnd_update_after_ecn_echo_common
_sctp_cwnd_update_after_ecn_echo_common: ## @sctp_cwnd_update_after_ecn_echo_common
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %r15d
	testl	%r8d, %r8d
	je	LBB0_12
## %bb.1:
	movq	8(%rbx), %rax
	movq	_SCTP_LAN_LOCAL@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_12
## %bb.2:
	cmpq	$0, 32(%rbx)
	je	LBB0_12
## %bb.3:
	testl	%edx, %edx
	je	LBB0_4
## %bb.8:
	imull	20(%rbx), %ecx
	subl	%ecx, 24(%rbx)
	movl	%r15d, %eax
	subl	%ecx, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_9
LBB0_12:
	testl	%edx, %edx
	je	LBB0_13
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_sctps_ecnereducedcwnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_STAT_INCR
	movl	(%rbx), %edx
	movl	20(%rbx), %ecx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, 24(%rbx)
	cmpl	%ecx, %eax
	jge	LBB0_15
## %bb.14:
	movl	%ecx, 24(%rbx)
	shll	28(%rbx)
	movl	%ecx, %eax
LBB0_15:
	movl	%eax, (%rbx)
	movq	_sctp@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_cwnd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ecn@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	16(%r14), %r8d
	movq	8(%r14), %rdx
	movl	(%rdx), %r9d
	shll	$16, %r9d
	orl	(%r14), %r9d
	subq	$8, %rsp
	movq	%rbx, %rdx
	pushq	%rax
	pushq	%r15
	pushq	%rbx
	callq	_SDT_PROBE5
	addq	$32, %rsp
	movq	_sctp_logging_level@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_BASE_SYSCTL
	movq	_SCTP_CWND_MONITOR_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.17:
	movl	(%rbx), %edx
	subl	%r15d, %edx
	movq	_SCTP_CWND_LOG_FROM_SAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_log_cwnd                  ## TAILCALL
LBB0_4:
	movl	16(%rbx), %eax
	cmpl	%r15d, %eax
	jge	LBB0_6
## %bb.5:
	imull	20(%rbx), %ecx
	subl	%ecx, %eax
	jmp	LBB0_7
LBB0_6:
	movl	%r15d, %eax
	shrl	$31, %eax
	addl	%r15d, %eax
	sarl	%eax
	imull	20(%rbx), %ecx
LBB0_7:
	movl	%eax, (%rbx)
	subl	%ecx, %eax
	movl	%eax, 24(%rbx)
LBB0_9:
	movq	_sctp_logging_level@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_BASE_SYSCTL
	movq	_SCTP_CWND_MONITOR_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movl	(%rbx), %edx
	subl	%r15d, %edx
	movq	_SCTP_CWND_LOG_FROM_SAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sctp_log_cwnd
LBB0_11:
	movq	_sctps_ecnereducedcwnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SCTP_STAT_INCR                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_LAN_LOCAL,8,3             ## @SCTP_LAN_LOCAL
	.comm	_sctp_logging_level,4,2         ## @sctp_logging_level
	.comm	_SCTP_CWND_MONITOR_ENABLE,4,2   ## @SCTP_CWND_MONITOR_ENABLE
	.comm	_SCTP_CWND_LOG_FROM_SAT,4,2     ## @SCTP_CWND_LOG_FROM_SAT
	.comm	_sctps_ecnereducedcwnd,4,2      ## @sctps_ecnereducedcwnd
	.comm	_sctp,4,2                       ## @sctp
	.comm	_cwnd,4,2                       ## @cwnd
	.comm	_ecn,4,2                        ## @ecn
	.no_dead_strip	_sctp_cwnd_update_after_ecn_echo_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_cwnd_update_after_ecn_echo_common
_sctp_cwnd_update_after_ecn_echo_common: ; @sctp_cwnd_update_after_ecn_echo_common
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	ldr	w21, [x1]
	cbz	w4, LBB0_5
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _SCTP_LAN_LOCAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SCTP_LAN_LOCAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_5
; %bb.3:
	cbz	w2, LBB0_11
; %bb.4:
	ldp	w8, w9, [x19, #20]
	mul	w8, w8, w3
	sub	w9, w9, w8
	str	w9, [x19, #24]
	sub	w8, w21, w8
	str	w8, [x19]
	b	LBB0_15
LBB0_5:
	cbz	w2, LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
Lloh3:
	adrp	x8, _sctps_ecnereducedcwnd@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sctps_ecnereducedcwnd@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SCTP_STAT_INCR
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	str	w8, [x19, #24]
	ldr	w9, [x19, #20]
	cmp	w8, w9
	b.ge	LBB0_9
; %bb.8:
	ldr	w8, [x19, #28]
	lsl	w8, w8, #1
	stp	w9, w8, [x19, #24]
	mov	x8, x9
LBB0_9:
	str	w8, [x19]
Lloh6:
	adrp	x9, _sctp@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sctp@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
Lloh9:
	adrp	x9, _cwnd@GOTPAGE
Lloh10:
	ldr	x9, [x9, _cwnd@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
Lloh12:
	adrp	x9, _ecn@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ecn@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x9]
	ldr	w4, [x20, #16]
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	ldr	w10, [x20]
	orr	w5, w10, w9, lsl #16
	str	w8, [sp]
	mov	x2, x19
	mov	x6, x19
	mov	x7, x21
	bl	_SDT_PROBE5
Lloh15:
	adrp	x8, _sctp_logging_level@GOTPAGE
Lloh16:
	ldr	x8, [x8, _sctp_logging_level@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
Lloh18:
	adrp	x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.10:
	ldr	w8, [x19]
Lloh21:
	adrp	x9, _SCTP_CWND_LOG_FROM_SAT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SCTP_CWND_LOG_FROM_SAT@GOTPAGEOFF]
	sub	w2, w8, w21
Lloh23:
	ldr	w3, [x9]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_sctp_log_cwnd
LBB0_11:
	ldr	w8, [x19, #16]
	cmp	w8, w21
	b.ge	LBB0_13
; %bb.12:
	ldr	w9, [x19, #20]
	mul	w9, w9, w3
	sub	w8, w8, w9
	b	LBB0_14
LBB0_13:
	cmp	w21, #0
	cinc	w8, w21, lt
	asr	w8, w8, #1
	ldr	w9, [x19, #20]
	mul	w9, w9, w3
LBB0_14:
	str	w8, [x19]
	sub	w8, w8, w9
	str	w8, [x19, #24]
LBB0_15:
Lloh24:
	adrp	x8, _sctp_logging_level@GOTPAGE
Lloh25:
	ldr	x8, [x8, _sctp_logging_level@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
Lloh27:
	adrp	x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_17
; %bb.16:
	ldr	w8, [x19]
	sub	w2, w8, w21
Lloh30:
	adrp	x8, _SCTP_CWND_LOG_FROM_SAT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SCTP_CWND_LOG_FROM_SAT@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_sctp_log_cwnd
LBB0_17:
Lloh33:
	adrp	x8, _sctps_ecnereducedcwnd@GOTPAGE
Lloh34:
	ldr	x8, [x8, _sctps_ecnereducedcwnd@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_SCTP_STAT_INCR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_LAN_LOCAL,8,3             ; @SCTP_LAN_LOCAL
	.comm	_sctp_logging_level,4,2         ; @sctp_logging_level
	.comm	_SCTP_CWND_MONITOR_ENABLE,4,2   ; @SCTP_CWND_MONITOR_ENABLE
	.comm	_SCTP_CWND_LOG_FROM_SAT,4,2     ; @SCTP_CWND_LOG_FROM_SAT
	.comm	_sctps_ecnereducedcwnd,4,2      ; @sctps_ecnereducedcwnd
	.comm	_sctp,4,2                       ; @sctp
	.comm	_cwnd,4,2                       ; @cwnd
	.comm	_ecn,4,2                        ; @ecn
	.no_dead_strip	_sctp_cwnd_update_after_ecn_echo_common
.subsections_via_symbols
