	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_rdma_alloc_tagset
_nvme_rdma_alloc_tagset:                ## @nvme_rdma_alloc_tagset
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_to_rdma_ctrl
	movq	%rax, %rbx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	%rbx, %r15
	addq	$56, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_nvme_rdma_admin_mq_ops@GOTPCREL(%rip), %rax
	movq	%rax, 104(%rbx)
	movq	_NVME_AQ_MQ_TAG_DEPTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 96(%rbx)
	movl	$2, 56(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 92(%rbx)
	movq	_SG_CHUNK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	4(,%rax,4), %eax
	movl	%eax, 60(%rbx)
	movq	%rbx, 80(%rbx)
	movl	$1, 64(%rbx)
	movq	_ADMIN_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	_BLK_MQ_F_NO_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	%r15, %rbx
	jmp	LBB0_5
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_nvme_rdma_mq_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	24(%r14), %rax
	incq	%rax
	movq	%rax, 40(%rbx)
	movl	$1, (%rbx)
	movl	16(%r14), %eax
	movl	%eax, 36(%rbx)
	movq	_BLK_MQ_F_SHOULD_MERGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_SG_CHUNK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	4(,%rax,4), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, 24(%rbx)
	movl	(%r14), %eax
	decl	%eax
	movl	%eax, 8(%rbx)
	movq	_NVME_IO_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	8(%r14), %rax
	cmpq	$0, (%rax)
	movl	$2, %eax
	je	LBB0_4
## %bb.3:
	movq	_HCTX_MAX_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movl	%eax, 12(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	callq	_blk_mq_alloc_tag_set
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_rdma_admin_mq_ops,4,2     ## @nvme_rdma_admin_mq_ops
	.comm	_NVME_AQ_MQ_TAG_DEPTH,8,3       ## @NVME_AQ_MQ_TAG_DEPTH
	.comm	_SG_CHUNK_SIZE,4,2              ## @SG_CHUNK_SIZE
	.comm	_ADMIN_TIMEOUT,4,2              ## @ADMIN_TIMEOUT
	.comm	_BLK_MQ_F_NO_SCHED,4,2          ## @BLK_MQ_F_NO_SCHED
	.comm	_nvme_rdma_mq_ops,4,2           ## @nvme_rdma_mq_ops
	.comm	_BLK_MQ_F_SHOULD_MERGE,4,2      ## @BLK_MQ_F_SHOULD_MERGE
	.comm	_NVME_IO_TIMEOUT,4,2            ## @NVME_IO_TIMEOUT
	.comm	_HCTX_MAX_TYPES,4,2             ## @HCTX_MAX_TYPES
	.no_dead_strip	_nvme_rdma_alloc_tagset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_rdma_alloc_tagset
_nvme_rdma_alloc_tagset:                ; @nvme_rdma_alloc_tagset
	.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	x20, x0
	bl	_to_rdma_ctrl
	mov	x19, x0
	cbz	w21, LBB0_2
; %bb.1:
	add	x21, x19, #56
	mov	x0, x21
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh0:
	adrp	x8, _nvme_rdma_admin_mq_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_rdma_admin_mq_ops@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NVME_AQ_MQ_TAG_DEPTH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NVME_AQ_MQ_TAG_DEPTH@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #96]
	mov	w8, #2
Lloh5:
	adrp	x9, _SG_CHUNK_SIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SG_CHUNK_SIZE@GOTPAGEOFF]
	ldr	w10, [x20, #16]
Lloh7:
	ldr	w9, [x9]
	lsl	w9, w9, #2
	add	w9, w9, #4
	stp	w8, w9, [x19, #56]
	str	x19, [x19, #80]
	mov	w8, #1
	str	w8, [x19, #64]
Lloh8:
	adrp	x8, _ADMIN_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ADMIN_TIMEOUT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh11:
	adrp	x8, _BLK_MQ_F_NO_SCHED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BLK_MQ_F_NO_SCHED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	stp	w8, w10, [x19, #88]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh14:
	adrp	x8, _nvme_rdma_mq_ops@GOTPAGE
Lloh15:
	ldr	x8, [x8, _nvme_rdma_mq_ops@GOTPAGEOFF]
	ldr	x9, [x20, #24]
	add	x9, x9, #1
	stp	x9, x8, [x19, #40]
	mov	w8, #1
	str	w8, [x19]
	ldr	w8, [x20, #16]
Lloh16:
	adrp	x9, _BLK_MQ_F_SHOULD_MERGE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BLK_MQ_F_SHOULD_MERGE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh19:
	adrp	x8, _SG_CHUNK_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SG_CHUNK_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	lsl	w8, w8, #2
	add	w8, w8, #4
	str	x19, [x19, #24]
	ldr	w9, [x20]
	sub	w9, w9, #1
	stp	w8, w9, [x19, #4]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh22:
	adrp	x9, _HCTX_MAX_TYPES@GOTPAGE
Lloh23:
	ldr	x9, [x9, _HCTX_MAX_TYPES@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	x8, #0
	mov	w8, #2
	csel	w8, w8, w9, eq
Lloh25:
	adrp	x9, _NVME_IO_TIMEOUT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _NVME_IO_TIMEOUT@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #12]
	mov	x21, x19
LBB0_3:
	mov	x0, x21
	bl	_blk_mq_alloc_tag_set
	cbz	w0, LBB0_5
; %bb.4:
	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	_ERR_PTR
LBB0_5:
	mov	x0, x21
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_rdma_admin_mq_ops,4,2     ; @nvme_rdma_admin_mq_ops
	.comm	_NVME_AQ_MQ_TAG_DEPTH,8,3       ; @NVME_AQ_MQ_TAG_DEPTH
	.comm	_SG_CHUNK_SIZE,4,2              ; @SG_CHUNK_SIZE
	.comm	_ADMIN_TIMEOUT,4,2              ; @ADMIN_TIMEOUT
	.comm	_BLK_MQ_F_NO_SCHED,4,2          ; @BLK_MQ_F_NO_SCHED
	.comm	_nvme_rdma_mq_ops,4,2           ; @nvme_rdma_mq_ops
	.comm	_BLK_MQ_F_SHOULD_MERGE,4,2      ; @BLK_MQ_F_SHOULD_MERGE
	.comm	_NVME_IO_TIMEOUT,4,2            ; @NVME_IO_TIMEOUT
	.comm	_HCTX_MAX_TYPES,4,2             ; @HCTX_MAX_TYPES
	.no_dead_strip	_nvme_rdma_alloc_tagset
.subsections_via_symbols
