	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rds_ib_recv_cache_put
_rds_ib_recv_cache_put:                 ## @rds_ib_recv_cache_put
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_local_irq_save
	movl	4(%r14), %ebx
	xorl	%eax, %eax
	callq	_smp_processor_id
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_per_cpu_ptr
	movq	%rax, %rbx
	movq	8(%rax), %rsi
	movq	%r15, %rdi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	callq	_list_add_tail
	jmp	LBB0_3
LBB0_1:
	callq	_INIT_LIST_HEAD
LBB0_3:
	movq	%r15, 8(%rbx)
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
	movq	_RDS_IB_RECYCLE_BATCH_COUNT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cmpxchg
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_xchg
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rsi
	movq	%rax, %rdi
	callq	_list_splice_entire_tail
	jmp	LBB0_6
LBB0_7:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_local_irq_restore              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RDS_IB_RECYCLE_BATCH_COUNT,8,3 ## @RDS_IB_RECYCLE_BATCH_COUNT
	.no_dead_strip	_rds_ib_recv_cache_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rds_ib_recv_cache_put
_rds_ib_recv_cache_put:                 ; @rds_ib_recv_cache_put
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_local_irq_save
	ldr	w20, [x19, #4]
	bl	_smp_processor_id
	mov	x1, x0
	mov	x0, x20
	bl	_per_cpu_ptr
	mov	x20, x0
	ldr	x1, [x0, #8]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_list_add_tail
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	bl	_INIT_LIST_HEAD
LBB0_3:
	ldr	x8, [x20]
	add	x8, x8, #1
	stp	x8, x21, [x20]
Lloh0:
	adrp	x9, _RDS_IB_RECYCLE_BATCH_COUNT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RDS_IB_RECYCLE_BATCH_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
	b	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [x20, #8]
	mov	x0, x19
	mov	x1, #0
	bl	_cmpxchg
	cbz	x0, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_xchg
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x20, #8]
	bl	_list_splice_entire_tail
	b	LBB0_4
LBB0_7:
	stp	xzr, xzr, [x20]
LBB0_8:
	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	_local_irq_restore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RDS_IB_RECYCLE_BATCH_COUNT,8,3 ; @RDS_IB_RECYCLE_BATCH_COUNT
	.no_dead_strip	_rds_ib_recv_cache_put
.subsections_via_symbols
