	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iser_conn_release
_iser_conn_release:                     ## @iser_conn_release
	.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, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	24(%rdi), %r15
	movq	_ISER_CONN_DOWN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUG_ON
	movq	_ig@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	leaq	32(%rbx), %rdi
	callq	_list_del
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_iser_free_rx_descriptors
	movq	%rbx, %rdi
	callq	_iser_free_ib_conn_res
	movq	$0, 24(%rbx)
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_iser_device_try_release
LBB0_2:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.3:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_rdma_destroy_id
	movq	$0, 16(%rbx)
LBB0_5:
	movl	8(%rbx), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iscsi_destroy_endpoint         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISER_CONN_DOWN,8,3             ## @ISER_CONN_DOWN
	.comm	_ig,4,2                         ## @ig
	.no_dead_strip	_iser_conn_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iser_conn_release
_iser_conn_release:                     ; @iser_conn_release
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #24]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ISER_CONN_DOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISER_CONN_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
Lloh3:
	adrp	x22, _ig@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ig@GOTPAGEOFF]
	mov	x0, x22
	bl	_mutex_lock
	add	x0, x19, #32
	bl	_list_del
	mov	x0, x22
	bl	_mutex_unlock
	mov	x0, x19
	bl	_iser_free_rx_descriptors
	mov	x0, x19
	bl	_iser_free_ib_conn_res
	str	xzr, [x19, #24]
	cbz	x21, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_iser_device_try_release
LBB0_2:
	cbz	w20, LBB0_5
; %bb.3:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_rdma_destroy_id
	str	xzr, [x19, #16]
LBB0_5:
	ldr	w0, [x19, #8]
	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
	b	_iscsi_destroy_endpoint
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISER_CONN_DOWN,8,3             ; @ISER_CONN_DOWN
	.comm	_ig,4,2                         ; @ig
	.no_dead_strip	_iser_conn_release
.subsections_via_symbols
