	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_compute_initwnd            ## -- Begin function tcp_compute_initwnd
	.p2align	4, 0x90
_tcp_compute_initwnd:                   ## @tcp_compute_initwnd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $edi killed $edi def $rdi
	movq	_V_tcp_initcwnd_segments@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	imull	$1460, %ebx, %esi               ## imm = 0x5B4
	imull	%edi, %ebx
	addl	%edi, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	jmp	LBB0_2
LBB0_3:
	movq	_V_tcp_do_rfc3390@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	leal	(,%rdi,4), %ebx
	addl	%edi, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$4380, %esi                     ## imm = 0x111C
LBB0_2:
	callq	_max
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_min                            ## TAILCALL
LBB0_5:
	cmpl	$2191, %edi                     ## imm = 0x88F
	jl	LBB0_7
## %bb.6:
	addl	%edi, %edi
	jmp	LBB0_10
LBB0_7:
	cmpl	$1096, %edi                     ## imm = 0x448
	jl	LBB0_9
## %bb.8:
	leal	(%rdi,%rdi,2), %edi
	jmp	LBB0_10
LBB0_9:
	shll	$2, %edi
LBB0_10:
	movl	%edi, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_tcp_initcwnd_segments,4,2    ## @V_tcp_initcwnd_segments
	.comm	_V_tcp_do_rfc3390,8,3           ## @V_tcp_do_rfc3390
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_compute_initwnd            ; -- Begin function tcp_compute_initwnd
	.p2align	2
_tcp_compute_initwnd:                   ; @tcp_compute_initwnd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _V_tcp_initcwnd_segments@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_tcp_initcwnd_segments@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	mul	w19, w8, w0
	lsl	w0, w0, #1
	mov	w9, #1460
	mul	w1, w8, w9
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _V_tcp_do_rfc3390@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V_tcp_do_rfc3390@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
	lsl	w19, w0, #2
	lsl	w0, w0, #1
	mov	w1, #4380
LBB0_4:
	bl	_max
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_min
LBB0_5:
	lsl	w8, w0, #2
	add	w9, w0, w0, lsl #1
	cmp	w0, #1096
	csel	w8, w8, w9, lt
	lsl	w9, w0, #1
	cmp	w0, #2191
	csel	w0, w8, w9, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V_tcp_initcwnd_segments,4,2    ; @V_tcp_initcwnd_segments
	.comm	_V_tcp_do_rfc3390,8,3           ; @V_tcp_do_rfc3390
.subsections_via_symbols
