	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function htcp_cong_avoid
_htcp_cong_avoid:                       ## @htcp_cong_avoid
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	cmpq	8(%rsi), %rax
	jle	LBB0_1
## %bb.11:
	movq	%rbx, %rdi
	callq	_measure_rtt
	movl	32(%rbx), %ecx
	movslq	28(%rbx), %rsi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	imull	36(%rbx), %eax
	sarl	$7, %eax
	imull	%esi, %eax
	movslq	%eax, %rdx
	movq	(%rbx), %rax
	cmpq	%rdx, %rax
	jle	LBB0_12
## %bb.14:
	addl	24(%rbx), %ecx
	movl	%ecx, 32(%rbx)
	movq	_sctp_logging_level@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_BASE_SYSCTL
	movq	_SCTP_CWND_LOGGING_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.15:
	leaq	24(%rbx), %rax
	movq	_SCTP_CWND_LOG_NOADV_CA@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_1:
	movslq	24(%rbx), %r15
	movq	16(%rbx), %rcx
	addq	%r15, %rcx
	cmpq	%rax, %rcx
	jge	LBB0_2
## %bb.9:
	movq	_sctp_logging_level@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SCTP_BASE_SYSCTL
	movq	_SCTP_CWND_LOGGING_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.10:
	movl	24(%rbx), %edx
	movq	_SCTP_CWND_LOG_NOADV_SS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_log_cwnd                  ## TAILCALL
LBB0_12:
	leaq	36(%rbx), %r15
	addq	%rsi, %rax
	movq	%rax, (%rbx)
	movl	$0, 32(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sctp_enforce_cwnd_limit
	movq	%r15, %rdi
	callq	_htcp_alpha_update
	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_17
## %bb.13:
	leaq	28(%rbx), %rax
	movq	_SCTP_CWND_LOG_FROM_CA@GOTPCREL(%rip), %rcx
LBB0_16:
	movl	(%rax), %edx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sctp_log_cwnd
LBB0_17:
	movl	28(%rbx), %eax
	movl	%eax, 40(%rbx)
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	28(%rbx), %r13d
	movq	_sctp_L2_abc_variable@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_SCTP_BASE_SYSCTL
	imull	%r13d, %eax
	cmpl	%eax, %r15d
	jle	LBB0_5
## %bb.3:
	movslq	28(%rbx), %r15
	movl	(%r12), %edi
	callq	_SCTP_BASE_SYSCTL
	cltq
	imulq	%r15, %rax
	addq	%rax, (%rbx)
	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_8
## %bb.4:
	leaq	28(%rbx), %rax
	jmp	LBB0_7
LBB0_5:
	movslq	24(%rbx), %rax
	addq	%rax, (%rbx)
	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_8
## %bb.6:
	leaq	24(%rbx), %rax
LBB0_7:
	movl	(%rax), %edx
	movq	_SCTP_CWND_LOG_FROM_SS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sctp_log_cwnd
LBB0_8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sctp_enforce_cwnd_limit        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sctp_L2_abc_variable,4,2       ## @sctp_L2_abc_variable
	.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_SS,4,2      ## @SCTP_CWND_LOG_FROM_SS
	.comm	_SCTP_CWND_LOGGING_ENABLE,4,2   ## @SCTP_CWND_LOGGING_ENABLE
	.comm	_SCTP_CWND_LOG_NOADV_SS,4,2     ## @SCTP_CWND_LOG_NOADV_SS
	.comm	_SCTP_CWND_LOG_FROM_CA,4,2      ## @SCTP_CWND_LOG_FROM_CA
	.comm	_SCTP_CWND_LOG_NOADV_CA,4,2     ## @SCTP_CWND_LOG_NOADV_CA
	.no_dead_strip	_htcp_cong_avoid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function htcp_cong_avoid
_htcp_cong_avoid:                       ; @htcp_cong_avoid
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldp	x8, x9, [x1]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_measure_rtt
	ldr	w8, [x19, #32]
	mov	x22, x19
	ldrsw	x9, [x22, #28]!
	mov	x21, x19
	ldr	w10, [x21, #36]!
	sdiv	w11, w8, w9
	mul	w10, w10, w11
	asr	w10, w10, #7
	mul	w11, w10, w9
	ldr	x10, [x19]
	cmp	x10, w11, sxtw
	b.le	LBB0_7
; %bb.2:
	mov	x22, x19
	ldr	w9, [x22, #24]!
	add	w8, w9, w8
	str	w8, [x22, #8]
Lloh0:
	adrp	x8, _sctp_logging_level@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sctp_logging_level@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
Lloh3:
	adrp	x8, _SCTP_CWND_LOGGING_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_CWND_LOGGING_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.3:
Lloh6:
	adrp	x8, _SCTP_CWND_LOG_NOADV_CA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCTP_CWND_LOG_NOADV_CA@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	mov	x22, x19
	ldrsw	x23, [x22, #24]!
	ldur	x9, [x22, #-8]
	add	x9, x9, x23
	cmp	x9, x8
	b.ge	LBB0_12
; %bb.5:
Lloh8:
	adrp	x8, _sctp_logging_level@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sctp_logging_level@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
Lloh11:
	adrp	x8, _SCTP_CWND_LOGGING_ENABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SCTP_CWND_LOGGING_ENABLE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.6:
Lloh14:
	adrp	x8, _SCTP_CWND_LOG_NOADV_SS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SCTP_CWND_LOG_NOADV_SS@GOTPAGEOFF]
	ldr	w2, [x19, #24]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, 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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_sctp_log_cwnd
LBB0_7:
	add	x8, x10, x9
	str	x8, [x19]
	str	wzr, [x19, #32]
	mov	x0, x20
	mov	x1, x19
	bl	_sctp_enforce_cwnd_limit
	mov	x0, x21
	bl	_htcp_alpha_update
Lloh17:
	adrp	x8, _sctp_logging_level@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sctp_logging_level@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
Lloh20:
	adrp	x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.8:
Lloh23:
	adrp	x8, _SCTP_CWND_LOG_FROM_CA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SCTP_CWND_LOG_FROM_CA@GOTPAGEOFF]
LBB0_9:
	ldr	w2, [x22]
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_sctp_log_cwnd
LBB0_10:
	ldr	w8, [x19, #28]
	str	w8, [x19, #40]
LBB0_11:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x21, x19
	ldr	w25, [x21, #28]!
Lloh25:
	adrp	x24, _sctp_L2_abc_variable@GOTPAGE
Lloh26:
	ldr	x24, [x24, _sctp_L2_abc_variable@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_SCTP_BASE_SYSCTL
	mul	w8, w0, w25
	cmp	w23, w8
	b.le	LBB0_14
; %bb.13:
	ldrsw	x22, [x19, #28]
	ldr	w0, [x24]
	bl	_SCTP_BASE_SYSCTL
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldr	x9, [x19]
	madd	x8, x8, x22, x9
	str	x8, [x19]
Lloh27:
	adrp	x8, _sctp_logging_level@GOTPAGE
Lloh28:
	ldr	x8, [x8, _sctp_logging_level@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
Lloh30:
	adrp	x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_15
	b	LBB0_16
LBB0_14:
	ldrsw	x8, [x19, #24]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
Lloh33:
	adrp	x8, _sctp_logging_level@GOTPAGE
Lloh34:
	ldr	x8, [x8, _sctp_logging_level@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_SCTP_BASE_SYSCTL
Lloh36:
	adrp	x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SCTP_CWND_MONITOR_ENABLE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	mov	x21, x22
	tst	w8, w0
	b.eq	LBB0_16
LBB0_15:
	ldr	w2, [x21]
Lloh39:
	adrp	x8, _SCTP_CWND_LOG_FROM_SS@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SCTP_CWND_LOG_FROM_SS@GOTPAGEOFF]
Lloh41:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_sctp_log_cwnd
LBB0_16:
	mov	x0, x20
	mov	x1, 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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_sctp_enforce_cwnd_limit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_sctp_L2_abc_variable,4,2       ; @sctp_L2_abc_variable
	.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_SS,4,2      ; @SCTP_CWND_LOG_FROM_SS
	.comm	_SCTP_CWND_LOGGING_ENABLE,4,2   ; @SCTP_CWND_LOGGING_ENABLE
	.comm	_SCTP_CWND_LOG_NOADV_SS,4,2     ; @SCTP_CWND_LOG_NOADV_SS
	.comm	_SCTP_CWND_LOG_FROM_CA,4,2      ; @SCTP_CWND_LOG_FROM_CA
	.comm	_SCTP_CWND_LOG_NOADV_CA,4,2     ; @SCTP_CWND_LOG_NOADV_CA
	.no_dead_strip	_htcp_cong_avoid
.subsections_via_symbols
