	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ib_alloc_cq_user             ## -- Begin function __ib_alloc_cq_user
	.p2align	4, 0x90
___ib_alloc_cq_user:                    ## @__ib_alloc_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	16(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -48(%rbp)
	movl	%ecx, -44(%rbp)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_ib_cq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rdma_zalloc_drv_obj
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%rax, %r15
	movq	%r12, 16(%rax)
	movq	%r13, 48(%rax)
	movl	%r14d, (%rax)
	leaq	44(%rax), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	_IB_POLL_BATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$56, %esi
	callq	_kmalloc_array
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	_RDMA_RESTRACK_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	24(%r15), %r14
	movl	%eax, 24(%r15)
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_rdma_restrack_set_task
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	*(%r12)
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
LBB0_13:
	movq	8(%r15), %rdi
	callq	_kfree
LBB0_14:
	movq	%r15, %rdi
	callq	_kfree
	movl	%ebx, %edi
	callq	_ERR_PTR
	movq	%rax, %r15
LBB0_15:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	%ebx, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_3:
	movq	%r14, %rdi
	callq	_rdma_restrack_kadd
	movq	%r15, %rdi
	callq	_rdma_dim_init
	movl	(%r15), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_8
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$131, %eax
	jne	LBB0_12
## %bb.6:
	movq	_ib_cq_completion_direct@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	jmp	LBB0_15
LBB0_8:
	movq	_ib_cq_completion_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movq	%r15, %rdi
	addq	$32, %rdi
	movq	_ib_cq_poll_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ib_req_notify_cq
	cmpl	$128, (%r15)
	jne	LBB0_9
## %bb.10:
	movq	_ib_comp_wq@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	movq	_ib_cq_completion_softirq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movq	%r15, %rdi
	addq	$40, %rdi
	movq	_IB_POLL_BUDGET_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ib_poll_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_irq_poll_init
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ib_req_notify_cq
	jmp	LBB0_15
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_rdma_restrack_del
	movq	16(%r15), %rax
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	*8(%rax)
	jmp	LBB0_13
LBB0_9:
	movq	_ib_comp_unbound_wq@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ib_cq,4,2                      ## @ib_cq
	.comm	_IB_POLL_BATCH,4,2              ## @IB_POLL_BATCH
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_RDMA_RESTRACK_CQ,4,2           ## @RDMA_RESTRACK_CQ
	.comm	_ib_cq_completion_direct,4,2    ## @ib_cq_completion_direct
	.comm	_ib_cq_completion_softirq,4,2   ## @ib_cq_completion_softirq
	.comm	_IB_POLL_BUDGET_IRQ,4,2         ## @IB_POLL_BUDGET_IRQ
	.comm	_ib_poll_handler,4,2            ## @ib_poll_handler
	.comm	_IB_CQ_NEXT_COMP,4,2            ## @IB_CQ_NEXT_COMP
	.comm	_ib_cq_completion_workqueue,4,2 ## @ib_cq_completion_workqueue
	.comm	_ib_cq_poll_work,4,2            ## @ib_cq_poll_work
	.comm	_ib_comp_wq,4,2                 ## @ib_comp_wq
	.comm	_ib_comp_unbound_wq,4,2         ## @ib_comp_unbound_wq
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ib_alloc_cq_user             ; -- Begin function __ib_alloc_cq_user
	.p2align	2
___ib_alloc_cq_user:                    ; @__ib_alloc_cq_user
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x6
	mov	x22, x5
	mov	x24, x4
	mov	x25, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	stp	w2, w3, [sp, #8]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
Lloh3:
	adrp	x8, _ib_cq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ib_cq@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_rdma_zalloc_drv_obj
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	str	x23, [x0, #16]
	str	x25, [x0, #48]
	add	x0, x0, #44
	str	w24, [x19]
	mov	w1, #0
	bl	_atomic_set
Lloh6:
	adrp	x8, _IB_POLL_BATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_POLL_BATCH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w1, #56
	bl	_kmalloc_array
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.2:
Lloh12:
	adrp	x8, _RDMA_RESTRACK_CQ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RDMA_RESTRACK_CQ@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	mov	x24, x19
	str	w8, [x24, #24]!
	mov	x0, x24
	mov	x1, x22
	bl	_rdma_restrack_set_task
	ldr	x8, [x23]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	blr	x8
	mov	x21, x0
	cbz	w0, LBB0_7
LBB0_3:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_4:
	mov	x0, x19
	bl	_kfree
	mov	x0, x21
	bl	_ERR_PTR
	mov	x19, x0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_ERR_PTR
LBB0_7:
	mov	x0, x24
	bl	_rdma_restrack_kadd
	mov	x0, x19
	bl	_rdma_dim_init
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_11
; %bb.8:
	cmp	w8, #130
	b.eq	LBB0_12
; %bb.9:
	cmp	w8, #131
	b.ne	LBB0_13
; %bb.10:
Lloh15:
	adrp	x8, _ib_cq_completion_direct@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ib_cq_completion_direct@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #36]
	b	LBB0_5
LBB0_11:
Lloh18:
	adrp	x8, _ib_cq_completion_workqueue@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ib_cq_completion_workqueue@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #36]
	add	x0, x19, #32
Lloh21:
	adrp	x8, _ib_cq_poll_work@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ib_cq_poll_work@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh24:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ib_req_notify_cq
	ldr	w8, [x19]
Lloh27:
	adrp	x9, _ib_comp_wq@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ib_comp_wq@GOTPAGEOFF]
Lloh29:
	adrp	x10, _ib_comp_unbound_wq@GOTPAGE
Lloh30:
	ldr	x10, [x10, _ib_comp_unbound_wq@GOTPAGEOFF]
	cmp	w8, #128
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x19, #28]
	b	LBB0_5
LBB0_12:
Lloh31:
	adrp	x8, _ib_cq_completion_softirq@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ib_cq_completion_softirq@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x19, #36]
	add	x0, x19, #40
Lloh34:
	adrp	x8, _IB_POLL_BUDGET_IRQ@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IB_POLL_BUDGET_IRQ@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _ib_poll_handler@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ib_poll_handler@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	bl	_irq_poll_init
Lloh40:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ib_req_notify_cq
	b	LBB0_5
LBB0_13:
Lloh43:
	adrp	x8, _EINVAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	neg	w21, w8
	mov	x0, x24
	bl	_rdma_restrack_del
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ib_cq,4,2                      ; @ib_cq
	.comm	_IB_POLL_BATCH,4,2              ; @IB_POLL_BATCH
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_RDMA_RESTRACK_CQ,4,2           ; @RDMA_RESTRACK_CQ
	.comm	_ib_cq_completion_direct,4,2    ; @ib_cq_completion_direct
	.comm	_ib_cq_completion_softirq,4,2   ; @ib_cq_completion_softirq
	.comm	_IB_POLL_BUDGET_IRQ,4,2         ; @IB_POLL_BUDGET_IRQ
	.comm	_ib_poll_handler,4,2            ; @ib_poll_handler
	.comm	_IB_CQ_NEXT_COMP,4,2            ; @IB_CQ_NEXT_COMP
	.comm	_ib_cq_completion_workqueue,4,2 ; @ib_cq_completion_workqueue
	.comm	_ib_cq_poll_work,4,2            ; @ib_cq_poll_work
	.comm	_ib_comp_wq,4,2                 ; @ib_comp_wq
	.comm	_ib_comp_unbound_wq,4,2         ; @ib_comp_unbound_wq
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
