	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scif_rma_completion_cb
_scif_rma_completion_cb:                ## @scif_rma_completion_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	48(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	56(%rbx), %edi
	movq	32(%rbx), %rdx
	addq	40(%rbx), %rdx
	movl	24(%rbx), %ecx
	xorl	%r8d, %r8d
	callq	_scif_rma_local_cpu_copy
LBB0_2:
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	movq	_SCIF_KMEM_UNALIGNED_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_scif_unmap_single
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_unaligned_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kmem_cache_free                ## TAILCALL
LBB0_4:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCIF_KMEM_UNALIGNED_BUF_SIZE,4,2 ## @SCIF_KMEM_UNALIGNED_BUF_SIZE
	.comm	_unaligned_cache,4,2            ## @unaligned_cache
	.no_dead_strip	_scif_rma_completion_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scif_rma_completion_cb
_scif_rma_completion_cb:                ; @scif_rma_completion_cb
	.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	x19, x0
	ldr	x1, [x0, #48]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w0, [x19, #56]
	ldp	x9, x8, [x19, #32]
	add	x2, x9, x8
	ldr	w3, [x19, #24]
	mov	w4, #0
	bl	_scif_rma_local_cpu_copy
LBB0_2:
	ldp	w1, w0, [x19, #16]
Lloh0:
	adrp	x8, _SCIF_KMEM_UNALIGNED_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCIF_KMEM_UNALIGNED_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_scif_unmap_single
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _unaligned_cache@GOTPAGE
Lloh4:
	ldr	x8, [x8, _unaligned_cache@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kmem_cache_free
LBB0_4:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SCIF_KMEM_UNALIGNED_BUF_SIZE,4,2 ; @SCIF_KMEM_UNALIGNED_BUF_SIZE
	.comm	_unaligned_cache,4,2            ; @unaligned_cache
	.no_dead_strip	_scif_rma_completion_cb
.subsections_via_symbols
