	.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
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	8(%rdi), %r14
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rsi,4), %edx
	movq	_rcv_int_count@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	cmpl	%eax, %edi
	jle	LBB0_3
## %bb.1:
	cmpl	$3, %edx
	jl	LBB0_3
## %bb.2:
	shrl	%edx
	jmp	LBB0_6
LBB0_3:
	cmpl	%eax, %edi
	jg	LBB0_7
## %bb.4:
	movq	_rcv_int_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%esi, %edx
	jge	LBB0_7
## %bb.5:
	addl	%edx, %edx
	movl	%edx, %edi
	callq	_min
	movl	%eax, %edx
	movq	(%r14), %rax
	movq	(%rax), %rcx
	movq	(%rbx), %rsi
LBB0_6:
	movl	%edx, (%rcx,%rsi,4)
	movq	_kr_rcvavailtimeout@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qib_write_kreg                 ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rcv_int_count,4,2              ## @rcv_int_count
	.comm	_rcv_int_timeout,4,2            ## @rcv_int_timeout
	.comm	_kr_rcvavailtimeout,8,3         ## @kr_rcvavailtimeout
	.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
	ldp	x8, x19, [x0]
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	w10, [x9, x8, lsl #2]
Lloh0:
	adrp	x11, _rcv_int_count@GOTPAGE
Lloh1:
	ldr	x11, [x11, _rcv_int_count@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	cmp	w11, w1
	ccmp	w10, #3, #8, gt
	b.ge	LBB0_4
; %bb.1:
	cmp	w11, w1
	b.gt	LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _rcv_int_timeout@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rcv_int_timeout@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	cmp	w10, w1
	b.ge	LBB0_6
; %bb.3:
	mov	x20, x0
	lsl	w0, w10, #1
	bl	_min
	mov	x2, x0
	ldr	x8, [x19]
	ldr	x9, [x8]
	ldr	x8, [x20]
	b	LBB0_5
LBB0_4:
	lsr	w2, w10, #1
LBB0_5:
	str	w2, [x9, x8, lsl #2]
Lloh6:
	adrp	x9, _kr_rcvavailtimeout@GOTPAGE
Lloh7:
	ldr	x9, [x9, _kr_rcvavailtimeout@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qib_write_kreg
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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_rcv_int_count,4,2              ; @rcv_int_count
	.comm	_rcv_int_timeout,4,2            ; @rcv_int_timeout
	.comm	_kr_rcvavailtimeout,8,3         ; @kr_rcvavailtimeout
	.no_dead_strip	_adjust_rcv_timeout
.subsections_via_symbols
