	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_qp_cq_handler
_ocrdma_qp_cq_handler:                  ## @ocrdma_qp_cq_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, %rbx
	movq	%rdi, %r14
	movq	_OCRDMA_MAX_CQ@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	ja	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_BUG
LBB0_2:
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.3:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	leaq	8(%rbx), %r15
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	callq	*16(%rbx)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ocrdma_qp_buddy_cq_handler     ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCRDMA_MAX_CQ,8,3              ## @OCRDMA_MAX_CQ
	.no_dead_strip	_ocrdma_qp_cq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_qp_cq_handler
_ocrdma_qp_cq_handler:                  ; @ocrdma_qp_cq_handler
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _OCRDMA_MAX_CQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCRDMA_MAX_CQ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.hi	LBB0_2
; %bb.1:
	bl	_BUG
LBB0_2:
	ldr	x8, [x19]
	ldr	x20, [x8, x20, lsl #3]
	cbz	x20, LBB0_6
; %bb.3:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #16]
	mov	x0, x20
	ldr	w1, [x0, #8]!
	blr	x8
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ocrdma_qp_buddy_cq_handler
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OCRDMA_MAX_CQ,8,3              ; @OCRDMA_MAX_CQ
	.no_dead_strip	_ocrdma_qp_cq_handler
.subsections_via_symbols
