	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rds_iw_free_fastreg
_rds_iw_free_fastreg:                   ## @rds_iw_free_fastreg
	.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
	cmpl	$0, 4(%rsi)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rds_iw_rdma_fastreg_inv
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	leaq	8(%rbx), %rdi
	leaq	12(%r14), %rsi
	callq	_list_add_tail
	movl	(%rbx), %edi
	leaq	8(%r14), %rsi
	callq	_atomic_add
	leaq	4(%r14), %rdi
	callq	_atomic_inc
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rds_iw_free_fastreg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rds_iw_free_fastreg
_rds_iw_free_fastreg:                   ; @rds_iw_free_fastreg
	.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
	ldr	w8, [x1, #4]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_rds_iw_rdma_fastreg_inv
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x0, x20, #8
	add	x1, x19, #12
	bl	_list_add_tail
	ldr	w0, [x20]
	add	x1, x19, #8
	bl	_atomic_add
	add	x0, x19, #4
	bl	_atomic_inc
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rds_iw_free_fastreg
.subsections_via_symbols
