	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_cwnd_new_rtcc_transmission_begins
_sctp_cwnd_new_rtcc_transmission_begins: ## @sctp_cwnd_new_rtcc_transmission_begins
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 16(%rsi)
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_sctp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cwnd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_rttvar@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	104(%rbx), %eax
	movl	%eax, 8(%rsp)
	movq	%rbx, %rdx
	callq	_SDT_PROBE5
	movq	$0, 16(%rbx)
	movq	$0, 48(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rbx)
	movups	%xmm0, 80(%rbx)
	movq	$0, 96(%rbx)
	cmpq	$0, 56(%rbx)
	je	LBB0_3
## %bb.2:
	movups	%xmm0, 32(%rbx)
	movq	$0, 48(%rbx)
LBB0_3:
	cmpq	$0, 24(%rbx)
	je	LBB0_9
## %bb.4:
	movq	_sctp_initial_cwnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_BASE_SYSCTL
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	8(%r14), %rcx
	movslq	%eax, %rdx
	cmpq	%rdx, %rcx
	movl	%ecx, %edx
	cmovgel	%eax, %edx
	testq	%rcx, %rcx
	cmovlel	%eax, %edx
	movl	8(%rbx), %eax
	addl	$-4, %eax
	imull	%edx, %eax
	cmpl	%eax, 4(%rbx)
	jle	LBB0_9
LBB0_8:
	movl	%eax, 4(%rbx)
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	8(%rbx), %edi
	leal	(,%rdi,4), %r14d
	addl	%edi, %edi
	movq	_SCTP_INITIAL_CWND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_max
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_min
	cmpl	%eax, 4(%rbx)
	jg	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_sctp,4,2                       ## @sctp
	.comm	_cwnd,4,2                       ## @cwnd
	.comm	_rttvar,4,2                     ## @rttvar
	.comm	_sctp_initial_cwnd,4,2          ## @sctp_initial_cwnd
	.comm	_SCTP_INITIAL_CWND,4,2          ## @SCTP_INITIAL_CWND
	.no_dead_strip	_sctp_cwnd_new_rtcc_transmission_begins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_cwnd_new_rtcc_transmission_begins
_sctp_cwnd_new_rtcc_transmission_begins: ; @sctp_cwnd_new_rtcc_transmission_begins
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x1, #16]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _sctp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sctp@GOTPAGEOFF]
Lloh2:
	adrp	x9, _cwnd@GOTPAGE
Lloh3:
	ldr	x9, [x9, _cwnd@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x8, _rttvar@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rttvar@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	ldr	w7, [x19, #104]
	mov	x2, x19
	bl	_SDT_PROBE5
	str	xzr, [x19, #16]
	str	xzr, [x19, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #64]
	str	xzr, [x19, #96]
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_3
; %bb.2:
	stp	xzr, xzr, [x19, #32]
	str	xzr, [x19, #48]
LBB0_3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
; %bb.4:
Lloh9:
	adrp	x8, _sctp_initial_cwnd@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sctp_initial_cwnd@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x20, #8]
	cmp	x8, w0, sxtw
	ccmp	x8, #0, #4, lt
	csel	w8, w8, w0, gt
	ldr	w9, [x19, #8]
	sub	w9, w9, #4
	mul	w0, w8, w9
	b	LBB0_7
LBB0_6:
	ldr	w8, [x19, #8]
	lsl	w20, w8, #2
	lsl	w0, w8, #1
Lloh12:
	adrp	x8, _SCTP_INITIAL_CWND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCTP_INITIAL_CWND@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_max
	mov	x1, x0
	mov	x0, x20
	bl	_min
LBB0_7:
	ldr	w8, [x19, #4]
	cmp	w8, w0
	b.le	LBB0_9
; %bb.8:
	str	w0, [x19, #4]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_sctp,4,2                       ; @sctp
	.comm	_cwnd,4,2                       ; @cwnd
	.comm	_rttvar,4,2                     ; @rttvar
	.comm	_sctp_initial_cwnd,4,2          ; @sctp_initial_cwnd
	.comm	_SCTP_INITIAL_CWND,4,2          ; @SCTP_INITIAL_CWND
	.no_dead_strip	_sctp_cwnd_new_rtcc_transmission_begins
.subsections_via_symbols
