	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_free_cq_user                ## -- Begin function ib_free_cq_user
	.p2align	4, 0x90
_ib_free_cq_user:                       ## @ib_free_cq_user
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	addq	$48, %rdi
	callq	_atomic_read
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_1
## %bb.11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_5
## %bb.2:
	cmpl	$131, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$130, %eax
	jne	LBB0_6
## %bb.4:
	leaq	44(%rbx), %rdi
	callq	_irq_poll_disable
	jmp	LBB0_7
LBB0_5:
	leaq	24(%rbx), %rdi
	callq	_cancel_work_sync
	jmp	LBB0_7
LBB0_6:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
LBB0_7:
	leaq	40(%rbx), %rdi
	callq	_rdma_restrack_del
	movq	32(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%rax)
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:
	addq	$24, %rdi
	callq	_cancel_work_sync
	movq	16(%rbx), %rdi
	jmp	LBB0_10
LBB0_8:
	xorl	%edi, %edi
LBB0_10:
	callq	_kfree
	movq	8(%rbx), %rdi
	callq	_kfree
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_free_cq_user                ; -- Begin function ib_free_cq_user
	.p2align	2
_ib_free_cq_user:                       ; @ib_free_cq_user
	.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
	add	x0, x0, #48
	bl	_atomic_read
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_6
; %bb.3:
	cmp	w8, #131
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.5:
	add	x0, x19, #44
	bl	_irq_poll_disable
	b	LBB0_8
LBB0_6:
	add	x0, x19, #24
	bl	_cancel_work_sync
	b	LBB0_8
LBB0_7:
	mov	w0, #1
	bl	_WARN_ON_ONCE
LBB0_8:
	add	x0, x19, #40
	bl	_rdma_restrack_del
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.9:
	add	x0, x8, #24
	bl	_cancel_work_sync
	ldr	x0, [x19, #16]
	b	LBB0_11
LBB0_10:
	mov	x0, #0
LBB0_11:
	bl	_kfree
	ldr	x0, [x19, #8]
	bl	_kfree
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
