	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iser_free_ib_conn_res
_iser_free_ib_conn_res:                 ## @iser_free_ib_conn_res
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	16(%rdi), %rcx
	movl	24(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_iser_info
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_ig@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	32(%rbx), %rax
	decl	(%rax)
	movq	%r12, %rdi
	callq	_mutex_unlock
	movl	24(%rbx), %edi
	callq	_rdma_destroy_qp
	movq	$0, 16(%rbx)
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.3:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_iser_free_rx_descriptors
LBB0_5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_iser_device_try_release
	movq	$0, 8(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"freeing conn %p cma_id %p qp %p\n"

	.comm	_ig,4,2                         ## @ig
	.no_dead_strip	_iser_free_ib_conn_res
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iser_free_ib_conn_res
_iser_free_ib_conn_res:                 ; @iser_free_ib_conn_res
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
	ldr	w2, [x0, #24]
	ldp	x20, x3, [x0, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_iser_info
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x22, _ig@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ig@GOTPAGEOFF]
	mov	x0, x22
	bl	_mutex_lock
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	mov	x0, x22
	bl	_mutex_unlock
	ldr	w0, [x19, #24]
	bl	_rdma_destroy_qp
	str	xzr, [x19, #16]
LBB0_2:
	cbz	w21, LBB0_7
; %bb.3:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_iser_free_rx_descriptors
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_iser_device_try_release
	str	xzr, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"freeing conn %p cma_id %p qp %p\n"

	.comm	_ig,4,2                         ; @ig
	.no_dead_strip	_iser_free_ib_conn_res
.subsections_via_symbols
