	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rds_recv_rcvbuf_delta
_rds_recv_rcvbuf_delta:                 ## @rds_recv_rcvbuf_delta
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.1:
	movl	%ecx, %r12d
	movq	%rdi, %rbx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r14d
	addl	%ecx, %r14d
	movl	%r14d, (%rdi)
	callq	_rds_sk_rcvbuf
	xorl	%r15d, %r15d
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r14d
	setg	%r15b
	leaq	12(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	callq	_ntohs
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %r13d
	movq	%rbx, %rdi
	callq	_rds_sk_rcvbuf
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%eax, %r9d
	pushq	%r12
	pushq	%r15
	callq	_rdsdebug
	addq	$16, %rsp
	movl	4(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	jle	LBB0_4
## %bb.3:
	movl	$1, 4(%rbx)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_rds_cong_set_bit
	jmp	LBB0_7
LBB0_4:
	testl	%eax, %eax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_8
## %bb.5:
	movl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_rds_sk_rcvbuf
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	cmpl	%ecx, %r14d
	jge	LBB0_8
## %bb.6:
	movl	$0, 4(%rbx)
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_rds_cong_clear_bit
LBB0_7:
	movq	%r15, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rds_cong_queue_updates         ## TAILCALL
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rs %p (%pI4:%u) recv bytes %d buf %d now_cong %d delta %d\n"

	.no_dead_strip	_rds_recv_rcvbuf_delta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rds_recv_rcvbuf_delta
_rds_recv_rcvbuf_delta:                 ; @rds_recv_rcvbuf_delta
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	w3, LBB0_8
; %bb.1:
	mov	x20, x4
	mov	x22, x3
	mov	x19, x2
	mov	x21, x0
	ldr	w8, [x0]
	add	w28, w8, w3
	str	w28, [x0]
	bl	_rds_sk_rcvbuf
	mov	x23, x0
	cmp	w28, w0
	cset	w24, gt
	add	x25, x21, #12
	ldr	w0, [x21, #8]
	bl	_ntohs
	mov	x26, x0
	ldr	w27, [x21]
	mov	x0, x21
	bl	_rds_sk_rcvbuf
	mov	x5, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x25
	mov	x3, x26
	mov	x4, x27
	mov	x6, x24
	mov	x7, x22
	bl	_rdsdebug
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_4
; %bb.2:
	cmp	w28, w23
	b.le	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x21, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_rds_cong_set_bit
	b	LBB0_7
LBB0_4:
	cbz	w8, LBB0_8
; %bb.5:
	ldr	w22, [x21]
	mov	x0, x21
	bl	_rds_sk_rcvbuf
	cmp	w0, #0
	cinc	w8, w0, lt
	cmp	w22, w8, asr #1
	b.ge	LBB0_8
; %bb.6:
	str	wzr, [x21, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_rds_cong_clear_bit
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_rds_cong_queue_updates
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rs %p (%pI4:%u) recv bytes %d buf %d now_cong %d delta %d\n"

	.no_dead_strip	_rds_recv_rcvbuf_delta
.subsections_via_symbols
