	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xprt_adjust_cwnd               ## -- Begin function xprt_adjust_cwnd
	.p2align	4, 0x90
_xprt_adjust_cwnd:                      ## @xprt_adjust_cwnd
	.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	(%rdi), %r15
	movq	8(%rdi), %r14
	movq	(%r15), %rcx
	testl	%esi, %esi
	js	LBB0_8
## %bb.1:
	cmpq	8(%r15), %rcx
	jbe	LBB0_2
LBB0_8:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	jne	LBB0_9
## %bb.10:
	movq	%rcx, %rbx
	shrq	%rbx
	movq	_RPC_CWNDSCALE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	cmovbeq	%rax, %rbx
	jmp	LBB0_11
LBB0_9:
	movq	%rcx, %rbx
	jmp	LBB0_11
LBB0_2:
	movq	_RPC_CWNDSCALE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	imulq	%rdx, %rdx
	movq	%rcx, %rax
	shrq	%rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %rbx
	jmp	LBB0_5
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %ebx
LBB0_5:
	addq	%rcx, %rbx
	movq	%r15, %rdi
	callq	_RPC_MAXCWND
	cmpq	%rax, %rbx
	jbe	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_RPC_MAXCWND
	movq	%rax, %rbx
LBB0_7:
	movq	%r15, %rdi
	callq	___xprt_lock_write_next_cong
	movq	(%r15), %rcx
LBB0_11:
	movq	8(%r15), %rsi
	leaq	L_.str(%rip), %rdi
	movq	%rcx, %rdx
	movq	%rbx, %rcx
	callq	_dprintk
	movq	%rbx, (%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___xprt_put_cong                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_CWNDSCALE,8,3              ## @RPC_CWNDSCALE
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       cong %ld, cwnd was %ld, now %ld\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xprt_adjust_cwnd               ; -- Begin function xprt_adjust_cwnd
	.p2align	2
_xprt_adjust_cwnd:                      ; @xprt_adjust_cwnd
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldp	x20, x19, [x0]
	ldr	x2, [x20]
	tbnz	w1, #31, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	cmp	x2, x8
	b.ls	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w8, w1
	b.ne	LBB0_4
; %bb.3:
	lsr	x8, x2, #1
Lloh3:
	adrp	x9, _RPC_CWNDSCALE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RPC_CWNDSCALE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x21, x8, x9, hi
	b	LBB0_8
LBB0_4:
	mov	x21, x2
	b	LBB0_8
LBB0_5:
Lloh6:
	adrp	x8, _RPC_CWNDSCALE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RPC_CWNDSCALE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	mul	x8, x8, x8
	add	x8, x8, x2, lsr #1
	udiv	x8, x8, x2
	add	x21, x8, x2
	mov	x0, x20
	bl	_RPC_MAXCWND
	cmp	x21, x0
	b.ls	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_RPC_MAXCWND
	mov	x21, x0
LBB0_7:
	mov	x0, x20
	bl	___xprt_lock_write_next_cong
	ldr	x2, [x20]
LBB0_8:
	ldr	x1, [x20, #8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x21
	bl	_dprintk
	str	x21, [x20]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___xprt_put_cong
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_CWNDSCALE,8,3              ; @RPC_CWNDSCALE
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       cong %ld, cwnd was %ld, now %ld\n"

.subsections_via_symbols
