	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function measure_achieved_throughput
_measure_achieved_throughput:           ## @measure_achieved_throughput
	.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	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_inet_csk
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_tcp_sk
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_inet_csk_ca
	movq	%rax, %r12
	movq	_tcp_time_stamp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %eax
	movq	_TCP_CA_Open@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movl	%r14d, (%r12)
LBB0_2:
	testq	%r15, %r15
	jle	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movl	%esi, %r15d
	callq	_usecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_measure_rtt
	movl	%r15d, %esi
LBB0_4:
	movq	_use_bandwidth_switch@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_18
## %bb.5:
	movq	_TCPF_CA_Open@GOTPCREL(%rip), %rax
	movq	_TCPF_CA_Disorder@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%r13), %eax
	btl	%eax, %ecx
	jae	LBB0_6
## %bb.7:
	addl	4(%r12), %r14d
	movl	%r14d, 4(%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	12(%r12), %ecx
	movl	%ecx, %edx
	sarl	$7, %edx
	cmpl	$128, %ecx
	movl	$1, %ecx
	cmovael	%edx, %ecx
	subl	%ecx, %eax
	cmpl	%eax, %r14d
	jl	LBB0_18
## %bb.8:
	movl	%esi, %ecx
	subl	8(%r12), %ecx
	movl	16(%r12), %eax
	cmpl	%eax, %ecx
	jl	LBB0_18
## %bb.9:
	testl	%eax, %eax
	jle	LBB0_18
## %bb.10:
	movl	%esi, %r15d
	movq	_HZ@GOTPCREL(%rip), %rax
	imull	(%rax), %r14d
	movl	%r14d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_htcp_ccount
	cmpl	$3, %eax
	jg	LBB0_12
## %bb.11:
	movl	%ebx, 28(%r12)
	movl	%ebx, 24(%r12)
	movl	%ebx, 20(%r12)
	movl	%r15d, %esi
	jmp	LBB0_16
LBB0_6:
	movl	$0, 4(%r12)
	addq	$8, %r12
	movq	%r12, %rax
	jmp	LBB0_17
LBB0_12:
	movl	28(%r12), %eax
	leal	(%rax,%rax,2), %eax
	leal	(%rbx,%rax), %ecx
	addl	$3, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	addl	%ebx, %eax
	cmovnsl	%eax, %ecx
	movl	24(%r12), %eax
	sarl	$2, %ecx
	movl	%ecx, 28(%r12)
	cmpl	%eax, %ecx
	jle	LBB0_14
## %bb.13:
	movl	%ecx, 24(%r12)
	movl	%ecx, %eax
LBB0_14:
	cmpl	%eax, 20(%r12)
	movl	%r15d, %esi
	jle	LBB0_16
## %bb.15:
	movl	%eax, 20(%r12)
LBB0_16:
	movq	%r12, %rax
	addq	$8, %rax
	movl	$0, 4(%r12)
LBB0_17:
	movl	%esi, (%rax)
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tcp_time_stamp,4,2             ## @tcp_time_stamp
	.comm	_TCP_CA_Open,4,2                ## @TCP_CA_Open
	.comm	_use_bandwidth_switch,4,2       ## @use_bandwidth_switch
	.comm	_TCPF_CA_Open,4,2               ## @TCPF_CA_Open
	.comm	_TCPF_CA_Disorder,4,2           ## @TCPF_CA_Disorder
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_measure_achieved_throughput
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function measure_achieved_throughput
_measure_achieved_throughput:           ; @measure_achieved_throughput
	.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	x24, x2
	mov	x20, x1
	mov	x23, x0
	bl	_inet_csk
	mov	x22, x0
	mov	x0, x23
	bl	_tcp_sk
	mov	x21, x0
	mov	x0, x23
	bl	_inet_csk_ca
	mov	x19, x0
Lloh0:
	adrp	x8, _tcp_time_stamp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tcp_time_stamp@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _TCP_CA_Open@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCP_CA_Open@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	str	w20, [x19]
LBB0_2:
	cmp	x24, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x24
	bl	_usecs_to_jiffies
	mov	x1, x0
	mov	x0, x23
	bl	_measure_rtt
LBB0_4:
Lloh6:
	adrp	x8, _use_bandwidth_switch@GOTPAGE
Lloh7:
	ldr	x8, [x8, _use_bandwidth_switch@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbz	w8, LBB0_17
; %bb.5:
	ldr	w8, [x22]
Lloh9:
	adrp	x9, _TCPF_CA_Open@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TCPF_CA_Open@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _TCPF_CA_Disorder@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TCPF_CA_Disorder@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_10
; %bb.6:
	ldr	w8, [x19, #4]
	add	w8, w8, w20
	str	w8, [x19, #4]
	ldr	w9, [x21]
	ldr	w10, [x19, #12]
	asr	w11, w10, #7
	cmp	w10, #128
	csinc	w10, w11, wzr, hs
	sub	w9, w9, w10
	cmp	w8, w9
	b.lt	LBB0_17
; %bb.7:
	mov	x20, x19
	ldr	w9, [x20, #8]!
	ldr	w10, [x20, #8]
	sub	w9, w25, w9
	cmp	w9, w10
	ccmp	w10, #1, #8, ge
	b.lt	LBB0_17
; %bb.8:
Lloh15:
	adrp	x10, _HZ@GOTPAGE
Lloh16:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	mul	w8, w10, w8
	sdiv	w21, w8, w9
	mov	x0, x19
	bl	_htcp_ccount
	cmp	w0, #3
	b.gt	LBB0_11
; %bb.9:
	stp	w21, w21, [x19, #24]
	str	w21, [x19, #20]
	b	LBB0_15
LBB0_10:
	str	wzr, [x19, #4]
	add	x20, x19, #8
	b	LBB0_16
LBB0_11:
	ldp	w8, w9, [x19, #24]
	add	w9, w9, w9, lsl #1
	add	w9, w9, w21
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #2
	str	w9, [x19, #28]
	cmp	w9, w8
	b.le	LBB0_13
; %bb.12:
	str	w9, [x19, #24]
	mov	x8, x9
LBB0_13:
	ldr	w9, [x19, #20]
	cmp	w9, w8
	b.le	LBB0_15
; %bb.14:
	str	w8, [x19, #20]
LBB0_15:
	str	wzr, [x19, #4]
LBB0_16:
	str	w25, [x20]
LBB0_17:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_tcp_time_stamp,4,2             ; @tcp_time_stamp
	.comm	_TCP_CA_Open,4,2                ; @TCP_CA_Open
	.comm	_use_bandwidth_switch,4,2       ; @use_bandwidth_switch
	.comm	_TCPF_CA_Open,4,2               ; @TCPF_CA_Open
	.comm	_TCPF_CA_Disorder,4,2           ; @TCPF_CA_Disorder
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_measure_achieved_throughput
.subsections_via_symbols
