	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pp_close_ctx
_pp_close_ctx:                          ## @pp_close_ctx
	.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	_ctx@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ibv_destroy_qp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ibv_destroy_qp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_close
	jmp	LBB0_2
LBB0_7:
	movl	88(%r14), %edi
	callq	_ibv_destroy_srq
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_16
LBB0_10:
	movq	80(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.11:
	callq	_ibv_close_xrcd
	testq	%rax, %rax
	je	LBB0_18
## %bb.12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_15
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_15:
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_16:
	movl	$1, %eax
LBB0_17:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_18:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	js	LBB0_21
## %bb.19:
	callq	_close
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_9
LBB0_21:
	movl	76(%r14), %edi
	callq	_ibv_destroy_cq
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_9
LBB0_23:
	movl	72(%r14), %edi
	callq	_ibv_destroy_cq
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_9
LBB0_25:
	movl	68(%r14), %edi
	callq	_ibv_dereg_mr
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_9
LBB0_27:
	movl	64(%r14), %edi
	callq	_ibv_dealloc_pd
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_9
LBB0_29:
	movq	56(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.30:
	callq	_ibv_destroy_comp_channel
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_9
LBB0_32:
	movl	48(%r14), %edi
	callq	_ibv_close_device
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_9
LBB0_34:
	movq	40(%r14), %rdi
	callq	_free
	movq	32(%r14), %rdi
	callq	_free
	movq	24(%r14), %rdi
	callq	_free
	movq	16(%r14), %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx,96,3                       ## @ctx
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't destroy INI QP[%d]\n"

L_.str.1:                               ## @.str.1
	.asciz	"Couldn't destroy TGT QP[%d]\n"

L_.str.2:                               ## @.str.2
	.asciz	"Couldn't destroy SRQ\n"

L_.str.3:                               ## @.str.3
	.asciz	"Couldn't close the XRC Domain\n"

L_.str.4:                               ## @.str.4
	.asciz	"Couldn't close the file for the XRC Domain\n"

L_.str.5:                               ## @.str.5
	.asciz	"Couldn't destroy send CQ\n"

L_.str.6:                               ## @.str.6
	.asciz	"Couldn't destroy recv CQ\n"

L_.str.7:                               ## @.str.7
	.asciz	"Couldn't deregister MR\n"

L_.str.8:                               ## @.str.8
	.asciz	"Couldn't deallocate PD\n"

L_.str.9:                               ## @.str.9
	.asciz	"Couldn't destroy completion channel\n"

L_.str.10:                              ## @.str.10
	.asciz	"Couldn't release context\n"

	.no_dead_strip	_pp_close_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pp_close_ctx
_pp_close_ctx:                          ; @pp_close_ctx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _ctx@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ctx@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x0, [x8, x20, lsl #3]
	bl	_ibv_destroy_qp
	cbnz	x0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x20, lsl #3]
	bl	_ibv_destroy_qp
	cbnz	x0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldr	x0, [x8, x20, lsl #3]
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_close
	b	LBB0_2
LBB0_7:
	ldr	w0, [x19, #88]
	bl	_ibv_destroy_srq
	cbz	x0, LBB0_9
; %bb.8:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_9:
	ldr	x0, [x19, #80]
	cbz	x0, LBB0_16
; %bb.10:
	bl	_ibv_close_xrcd
	cbz	x0, LBB0_16
; %bb.11:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_12:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_14:
	bl	_fprintf
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_16:
	ldr	x0, [x19, #8]
	tbnz	x0, #63, LBB0_19
; %bb.17:
	bl	_close
	cbz	w0, LBB0_19
; %bb.18:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_14
LBB0_19:
	ldr	w0, [x19, #76]
	bl	_ibv_destroy_cq
	cbz	x0, LBB0_21
; %bb.20:
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_21:
	ldr	w0, [x19, #72]
	bl	_ibv_destroy_cq
	cbz	x0, LBB0_23
; %bb.22:
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_14
LBB0_23:
	ldr	w0, [x19, #68]
	bl	_ibv_dereg_mr
	cbz	x0, LBB0_25
; %bb.24:
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.7@PAGE
Lloh41:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_14
LBB0_25:
	ldr	w0, [x19, #64]
	bl	_ibv_dealloc_pd
	cbz	x0, LBB0_27
; %bb.26:
Lloh42:
	adrp	x8, _stderr@GOTPAGE
Lloh43:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_14
LBB0_27:
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_30
; %bb.28:
	bl	_ibv_destroy_comp_channel
	cbz	x0, LBB0_30
; %bb.29:
Lloh47:
	adrp	x8, _stderr@GOTPAGE
Lloh48:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.9@PAGE
Lloh51:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_14
LBB0_30:
	ldr	w0, [x19, #48]
	bl	_ibv_close_device
	cbz	x0, LBB0_32
; %bb.31:
Lloh52:
	adrp	x8, _stderr@GOTPAGE
Lloh53:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
Lloh55:
	adrp	x1, l_.str.10@PAGE
Lloh56:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_14
LBB0_32:
	ldr	x0, [x19, #40]
	bl	_free
	ldr	x0, [x19, #32]
	bl	_free
	ldr	x0, [x19, #24]
	bl	_free
	ldr	x0, [x19, #16]
	bl	_free
	mov	w0, #0
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx,96,3                       ; @ctx
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't destroy INI QP[%d]\n"

l_.str.1:                               ; @.str.1
	.asciz	"Couldn't destroy TGT QP[%d]\n"

l_.str.2:                               ; @.str.2
	.asciz	"Couldn't destroy SRQ\n"

l_.str.3:                               ; @.str.3
	.asciz	"Couldn't close the XRC Domain\n"

l_.str.4:                               ; @.str.4
	.asciz	"Couldn't close the file for the XRC Domain\n"

l_.str.5:                               ; @.str.5
	.asciz	"Couldn't destroy send CQ\n"

l_.str.6:                               ; @.str.6
	.asciz	"Couldn't destroy recv CQ\n"

l_.str.7:                               ; @.str.7
	.asciz	"Couldn't deregister MR\n"

l_.str.8:                               ; @.str.8
	.asciz	"Couldn't deallocate PD\n"

l_.str.9:                               ; @.str.9
	.asciz	"Couldn't destroy completion channel\n"

l_.str.10:                              ; @.str.10
	.asciz	"Couldn't release context\n"

	.no_dead_strip	_pp_close_ctx
.subsections_via_symbols
