	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_recv
_handle_recv:                           ## @handle_recv
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rsi), %rax
	movl	(%rax), %edi
	movl	4(%rdx), %esi
	movl	4(%r14), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_unmap_single
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%r12d, (%rax)
	jne	LBB0_4
## %bb.1:
	movl	(%rbx), %edi
	leaq	-36(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$1, %r8d
	callq	_p9_parse_header
	movl	%eax, %ecx
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	movq	_P9_DEBUG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	movl	%r12d, %r8d
	callq	_P9_DPRINTK
	movq	_P9_RDMA_FLUSHING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_Disconnected@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	-36(%rbp), %esi
	movq	%r14, %rdi
	callq	_p9_tag_lookup
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %ecx
	movl	%ecx, 4(%rax)
	movq	_REQ_STATUS_RCVD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_p9_client_cb
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_IB_WC_SUCCESS,4,2              ## @IB_WC_SUCCESS
	.comm	_REQ_STATUS_RCVD,4,2            ## @REQ_STATUS_RCVD
	.comm	_P9_DEBUG_ERROR,4,2             ## @P9_DEBUG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"req %p err %d status %d\n"

	.comm	_P9_RDMA_FLUSHING,4,2           ## @P9_RDMA_FLUSHING
	.comm	_Disconnected,4,2               ## @Disconnected
	.no_dead_strip	_handle_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_recv
_handle_recv:                           ; @handle_recv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	ldr	w0, [x8]
	ldr	w1, [x2, #4]
	ldr	w2, [x19, #4]
Lloh0:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	bl	_ib_dma_unmap_single
Lloh3:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x22]
	add	x3, sp, #12
	mov	x1, #0
	mov	x2, #0
	mov	w4, #1
	bl	_p9_parse_header
	mov	x3, x0
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_p9_tag_lookup
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x0
	ldr	w8, [x22]
Lloh6:
	adrp	x9, _REQ_STATUS_RCVD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REQ_STATUS_RCVD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	mov	x0, x19
	bl	_p9_client_cb
	b	LBB0_6
LBB0_4:
	mov	w3, #0
LBB0_5:
Lloh9:
	adrp	x8, _P9_DEBUG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _P9_DEBUG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	mov	x4, x21
	bl	_P9_DPRINTK
Lloh14:
	adrp	x8, _P9_RDMA_FLUSHING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _P9_RDMA_FLUSHING@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh17:
	adrp	x8, _Disconnected@GOTPAGE
Lloh18:
	ldr	x8, [x8, _Disconnected@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_IB_WC_SUCCESS,4,2              ; @IB_WC_SUCCESS
	.comm	_REQ_STATUS_RCVD,4,2            ; @REQ_STATUS_RCVD
	.comm	_P9_DEBUG_ERROR,4,2             ; @P9_DEBUG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"req %p err %d status %d\n"

	.comm	_P9_RDMA_FLUSHING,4,2           ; @P9_RDMA_FLUSHING
	.comm	_Disconnected,4,2               ; @Disconnected
	.no_dead_strip	_handle_recv
.subsections_via_symbols
