	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_destroy_cqs
_ucma_destroy_cqs:                      ## @ucma_destroy_cqs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_IBV_QPT_XRC_RECV@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 40(%rbx)
	jne	LBB0_12
LBB0_2:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	callq	_ibv_destroy_cq
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	cmpq	24(%rbx), %rdi
	je	LBB0_6
## %bb.5:
	callq	_ibv_destroy_cq
	movq	$0, 32(%rbx)
LBB0_6:
	movq	$0, 24(%rbx)
LBB0_7:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.8:
	callq	_ibv_destroy_comp_channel
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.9:
	cmpq	8(%rbx), %rdi
	je	LBB0_11
## %bb.10:
	callq	_ibv_destroy_comp_channel
	movq	$0, 16(%rbx)
LBB0_11:
	movq	$0, 8(%rbx)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_QPT_XRC_RECV,8,3           ## @IBV_QPT_XRC_RECV
	.no_dead_strip	_ucma_destroy_cqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_destroy_cqs
_ucma_destroy_cqs:                      ; @ucma_destroy_cqs
	.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	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IBV_QPT_XRC_RECV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IBV_QPT_XRC_RECV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_12
LBB0_2:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.3:
	bl	_ibv_destroy_cq
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x19, #24]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
	bl	_ibv_destroy_cq
	str	xzr, [x19, #32]
LBB0_6:
	str	xzr, [x19, #24]
LBB0_7:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_12
; %bb.8:
	bl	_ibv_destroy_comp_channel
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.9:
	ldr	x8, [x19, #8]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.10:
	bl	_ibv_destroy_comp_channel
	str	xzr, [x19, #16]
LBB0_11:
	str	xzr, [x19, #8]
LBB0_12:
	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	_IBV_QPT_XRC_RECV,8,3           ; @IBV_QPT_XRC_RECV
	.no_dead_strip	_ucma_destroy_cqs
.subsections_via_symbols
