	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjust_rcv_timeout
_adjust_rcv_timeout:                    ## @adjust_rcv_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	16(%rdi), %r14
	movq	_rcv_intr_count@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	jle	LBB0_3
## %bb.1:
	cmpq	$2, %rax
	jl	LBB0_6
## %bb.2:
	shrq	%rax
	jmp	LBB0_5
LBB0_3:
	movq	(%r14), %rsi
	cmpq	%rsi, %rax
	jge	LBB0_6
## %bb.4:
	addq	%rax, %rax
	movq	%rax, %rdi
	callq	_min
LBB0_5:
	movq	%rax, (%rbx)
	movl	8(%rbx), %esi
	movq	_RCV_AVAIL_TIME_OUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_RCV_AVAIL_TIME_OUT_TIME_OUT_RELOAD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	%r14, %rdi
	movl	%eax, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_kctxt_csr                ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rcv_intr_count,8,3             ## @rcv_intr_count
	.comm	_RCV_AVAIL_TIME_OUT,4,2         ## @RCV_AVAIL_TIME_OUT
	.comm	_RCV_AVAIL_TIME_OUT_TIME_OUT_RELOAD_SHIFT,4,2 ## @RCV_AVAIL_TIME_OUT_TIME_OUT_RELOAD_SHIFT
	.no_dead_strip	_adjust_rcv_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjust_rcv_timeout
_adjust_rcv_timeout:                    ; @adjust_rcv_timeout
	.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
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _rcv_intr_count@GOTPAGE
Lloh1:
	ldr	x9, [x9, _rcv_intr_count@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x1
	b.le	LBB0_3
; %bb.1:
	cmp	x8, #2
	b.lt	LBB0_6
; %bb.2:
	lsr	x0, x8, #1
	b	LBB0_5
LBB0_3:
	ldr	x1, [x19]
	cmp	x8, x1
	b.ge	LBB0_6
; %bb.4:
	lsl	x0, x8, #1
	bl	_min
LBB0_5:
	str	x0, [x20]
	ldr	w1, [x20, #8]
Lloh3:
	adrp	x8, _RCV_AVAIL_TIME_OUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCV_AVAIL_TIME_OUT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _RCV_AVAIL_TIME_OUT_TIME_OUT_RELOAD_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCV_AVAIL_TIME_OUT_TIME_OUT_RELOAD_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w3, w0, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_kctxt_csr
LBB0_6:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_rcv_intr_count,8,3             ; @rcv_intr_count
	.comm	_RCV_AVAIL_TIME_OUT,4,2         ; @RCV_AVAIL_TIME_OUT
	.comm	_RCV_AVAIL_TIME_OUT_TIME_OUT_RELOAD_SHIFT,4,2 ; @RCV_AVAIL_TIME_OUT_TIME_OUT_RELOAD_SHIFT
	.no_dead_strip	_adjust_rcv_timeout
.subsections_via_symbols
