	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_rdma_queue_connect
_nvmet_rdma_queue_connect:              ## @nvmet_rdma_queue_connect
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_nvmet_rdma_find_get_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_nvmet_rdma_alloc_queue
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movl	(%r12), %eax
	movl	%eax, 16(%r14)
	cmpq	$0, (%r14)
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_flush_scheduled_work
LBB0_6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_nvmet_rdma_cm_accept
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	addq	$12, %r14
	movq	%r14, %rdi
	callq	_schedule_work
	jmp	LBB0_9
LBB0_1:
	movq	_NVME_RDMA_CM_NO_RSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_nvmet_rdma_cm_reject
	movq	_ECONNREFUSED@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_nvmet_rdma_free_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_kref_put
	jmp	LBB0_10
LBB0_8:
	movq	_nvmet_rdma_queue_mutex@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	addq	$8, %r14
	movq	_nvmet_rdma_queue_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_mutex_unlock
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NVME_RDMA_CM_NO_RSC,4,2        ## @NVME_RDMA_CM_NO_RSC
	.comm	_ECONNREFUSED,4,2               ## @ECONNREFUSED
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nvmet_rdma_queue_mutex,4,2     ## @nvmet_rdma_queue_mutex
	.comm	_nvmet_rdma_queue_list,4,2      ## @nvmet_rdma_queue_list
	.comm	_nvmet_rdma_free_dev,4,2        ## @nvmet_rdma_free_dev
	.no_dead_strip	_nvmet_rdma_queue_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_rdma_queue_connect
_nvmet_rdma_queue_connect:              ; @nvmet_rdma_queue_connect
	.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
	bl	_nvmet_rdma_find_get_device
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	mov	x1, x19
	mov	x2, x20
	bl	_nvmet_rdma_alloc_queue
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	ldr	w8, [x19]
	str	w8, [x0, #16]
	ldr	x8, [x0]
	cbnz	x8, LBB0_4
; %bb.3:
	bl	_flush_scheduled_work
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_nvmet_rdma_cm_accept
	cbz	w0, LBB0_8
; %bb.5:
	add	x0, x21, #12
	bl	_schedule_work
	b	LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, _NVME_RDMA_CM_NO_RSC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_RDMA_CM_NO_RSC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvmet_rdma_cm_reject
Lloh3:
	adrp	x8, _ECONNREFUSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECONNREFUSED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_10
LBB0_7:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w19, w8
Lloh9:
	adrp	x8, _nvmet_rdma_free_dev@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nvmet_rdma_free_dev@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_kref_put
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x19, _nvmet_rdma_queue_mutex@GOTPAGE
Lloh13:
	ldr	x19, [x19, _nvmet_rdma_queue_mutex@GOTPAGEOFF]
	mov	x0, x19
	bl	_mutex_lock
	add	x0, x21, #8
Lloh14:
	adrp	x1, _nvmet_rdma_queue_list@GOTPAGE
Lloh15:
	ldr	x1, [x1, _nvmet_rdma_queue_list@GOTPAGEOFF]
	bl	_list_add_tail
	mov	x0, x19
	bl	_mutex_unlock
LBB0_9:
	mov	w19, #0
LBB0_10:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NVME_RDMA_CM_NO_RSC,4,2        ; @NVME_RDMA_CM_NO_RSC
	.comm	_ECONNREFUSED,4,2               ; @ECONNREFUSED
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nvmet_rdma_queue_mutex,4,2     ; @nvmet_rdma_queue_mutex
	.comm	_nvmet_rdma_queue_list,4,2      ; @nvmet_rdma_queue_list
	.comm	_nvmet_rdma_free_dev,4,2        ; @nvmet_rdma_free_dev
	.no_dead_strip	_nvmet_rdma_queue_connect
.subsections_via_symbols
