	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_connect_request
_isert_connect_request:                 ## @isert_connect_request
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	8(%rdi), %r14
	movq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movl	4(%rbx), %r15d
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_isert_dbg
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_isert_init_conn
	movq	%r13, 16(%r15)
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_isert_alloc_login_buf
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:
	movq	%r13, %rdi
	callq	_isert_device_get
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	jmp	LBB0_11
LBB0_14:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_isert_dbg
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdma_reject                    ## TAILCALL
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_13
LBB0_6:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, 8(%r15)
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_isert_set_nego_params
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_isert_conn_setup_qp
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	callq	_isert_login_post_recv
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	callq	_isert_rdma_accept
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_isert_device_put
LBB0_11:
	movq	%r15, %rdi
	callq	_isert_free_login_buf
LBB0_12:
	movq	%r15, %rdi
	callq	_kfree
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_rdma_reject
LBB0_13:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r14, %rdi
	callq	_mutex_lock
	leaq	4(%r14), %rsi
	movq	%r15, %rdi
	callq	_list_add_tail
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%r12d, %r12d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iscsi_np is not enabled, reject connect request\n"

L_.str.1:                               ## @.str.1
	.asciz	"cma_id: %p, portal: %p\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_isert_connect_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_connect_request
_isert_connect_request:                 ; @isert_connect_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	x21, [x20, #8]
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	w23, [x21, #4]
	mov	x0, x21
	bl	_spin_unlock_bh
	cbz	w23, LBB0_5
; %bb.1:
	ldr	x8, [x19, #8]
	stp	x19, x8, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_isert_dbg
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	bl	_isert_init_conn
	str	x19, [x21, #16]
	ldr	w1, [x19]
	mov	x0, x21
	bl	_isert_alloc_login_buf
	mov	x23, x0
	cbnz	w0, LBB0_12
; %bb.3:
	mov	x0, x19
	bl	_isert_device_get
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x24
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_11
LBB0_5:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_isert_dbg
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_rdma_reject
LBB0_6:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_13
LBB0_7:
	str	x24, [x21, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_isert_set_nego_params
	mov	x0, x21
	mov	x1, x19
	bl	_isert_conn_setup_qp
	mov	x23, x0
	cbnz	w0, LBB0_10
; %bb.8:
	mov	x0, x21
	bl	_isert_login_post_recv
	mov	x23, x0
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_isert_rdma_accept
	mov	x23, x0
	cbz	w0, LBB0_14
LBB0_10:
	mov	x0, x24
	bl	_isert_device_put
LBB0_11:
	mov	x0, x21
	bl	_isert_free_login_buf
LBB0_12:
	mov	x0, x21
	bl	_kfree
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	bl	_rdma_reject
LBB0_13:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
	mov	x0, x20
	bl	_mutex_lock
	add	x1, x20, #4
	mov	x0, x21
	bl	_list_add_tail
	mov	x0, x20
	bl	_mutex_unlock
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iscsi_np is not enabled, reject connect request\n"

l_.str.1:                               ; @.str.1
	.asciz	"cma_id: %p, portal: %p\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_isert_connect_request
.subsections_via_symbols
