	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function destroy_node
_destroy_node:                          ## @destroy_node
	.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), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_ibv_destroy_ah
	movq	(%rbx), %rdi
LBB0_3:
	cmpq	$0, (%rdi)
	je	LBB0_5
## %bb.4:
	callq	_rdma_destroy_qp
LBB0_5:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_ibv_destroy_cq
LBB0_7:
	cmpq	$0, 16(%rbx)
	je	LBB0_9
## %bb.8:
	movl	24(%rbx), %edi
	callq	_ibv_dereg_mr
	movq	16(%rbx), %rdi
	callq	_free
LBB0_9:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_ibv_dealloc_pd
LBB0_11:
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rdma_destroy_id                ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_destroy_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function destroy_node
_destroy_node:                          ; @destroy_node
	.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	x0, [x0]
	cbz	x0, LBB0_12
; %bb.1:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x8
	bl	_ibv_destroy_ah
	ldr	x0, [x19]
LBB0_3:
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.4:
	bl	_rdma_destroy_qp
LBB0_5:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_ibv_destroy_cq
LBB0_7:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w0, [x19, #24]
	bl	_ibv_dereg_mr
	ldr	x0, [x19, #16]
	bl	_free
LBB0_9:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_ibv_dealloc_pd
LBB0_11:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rdma_destroy_id
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_destroy_node
.subsections_via_symbols
