	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_cm_rx_event_handler
_ipoib_cm_rx_event_handler:             ## @ipoib_cm_rx_event_handler
	.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, %rbx
	movl	8(%rsi), %edi
	callq	_ipoib_priv
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	_IB_EVENT_QP_LAST_WQE_REACHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	leaq	4(%r14), %rdi
	movq	%r15, %rsi
	addq	$4, %rsi
	callq	_list_move
	movq	_IPOIB_CM_RX_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r15, %rdi
	callq	_ipoib_cm_start_rx_drain
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,8,3 ## @IB_EVENT_QP_LAST_WQE_REACHED
	.comm	_IPOIB_CM_RX_FLUSH,4,2          ## @IPOIB_CM_RX_FLUSH
	.no_dead_strip	_ipoib_cm_rx_event_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_cm_rx_event_handler
_ipoib_cm_rx_event_handler:             ; @ipoib_cm_rx_event_handler
	.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
	ldr	w0, [x1, #8]
	bl	_ipoib_priv
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_spin_lock_irqsave
	add	x0, x19, #4
	add	x1, x20, #4
	bl	_list_move
Lloh3:
	adrp	x8, _IPOIB_CM_RX_FLUSH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPOIB_CM_RX_FLUSH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x20
	bl	_ipoib_cm_start_rx_drain
	mov	x0, x20
	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	_spin_unlock_irqrestore
LBB0_2:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,8,3 ; @IB_EVENT_QP_LAST_WQE_REACHED
	.comm	_IPOIB_CM_RX_FLUSH,4,2          ; @IPOIB_CM_RX_FLUSH
	.no_dead_strip	_ipoib_cm_rx_event_handler
.subsections_via_symbols
