	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_rdma_alloc_rsps
_nvmet_rdma_alloc_rsps:                 ## @nvmet_rdma_alloc_rsps
	.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	%rdi, %r12
	movq	24(%rdi), %r14
	movl	(%rdi), %r13d
	leal	(%r13,%r13), %edi
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	$0, %r15d
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	$2, %eax
	movl	$1, %r13d
	cmovgel	%eax, %r13d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nvmet_rdma_alloc_rsp
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	xorl	%r15d, %r15d
	jmp	LBB0_4
LBB0_9:
	leaq	16(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	incq	%r15
	cmpq	%r13, %r15
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	(,%r15,4), %rbx
	addq	8(%r12), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nvmet_rdma_alloc_rsp
	testl	%eax, %eax
	je	LBB0_10
## %bb.13:
                                        ## kill: def $eax killed $eax def $rax
LBB0_4:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.5:
	leaq	-4(,%r15,4), %r13
	incq	%r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rbx
	addq	%r13, %rbx
	movq	%rbx, %rdi
	callq	_list_del
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nvmet_rdma_free_rsp
	decq	%r15
	addq	$-4, %r13
	cmpq	$1, %r15
	jg	LBB0_6
LBB0_7:
	movq	8(%r12), %rdi
	callq	_kfree
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_nvmet_rdma_alloc_rsps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_rdma_alloc_rsps
_nvmet_rdma_alloc_rsps:                 ; @nvmet_rdma_alloc_rsps
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	w23, [x0]
	lsl	w21, w23, #1
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.1:
	cmp	w23, #1
	b.lt	LBB0_12
; %bb.2:
	mov	x22, x0
	cmp	w21, #1
	csinc	w25, w21, wzr, gt
	mov	x0, x20
	mov	x1, x22
	bl	_nvmet_rdma_alloc_rsp
	cbz	w0, LBB0_5
; %bb.3:
	mov	x21, x0
	mov	x24, #0
	cbnz	w24, LBB0_9
	b	LBB0_11
LBB0_4:
	neg	w21, w24
	b	LBB0_13
LBB0_5:
	mov	x24, #0
	add	x23, x19, #16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_list_add_tail
	add	x24, x24, #1
	cmp	x24, x25
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	add	x22, x8, x24, lsl #2
	mov	x0, x20
	mov	x1, x22
	bl	_nvmet_rdma_alloc_rsp
	cbz	w0, LBB0_6
; %bb.8:
	mov	x21, x0
	cbz	w24, LBB0_11
LBB0_9:
	add	x23, x24, #1
	lsl	x8, x24, #2
	sub	x24, x8, #4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x22, x8, x24
	mov	x0, x22
	bl	_list_del
	mov	x0, x20
	mov	x1, x22
	bl	_nvmet_rdma_free_rsp
	sub	x23, x23, #1
	sub	x24, x24, #4
	cmp	x23, #1
	b.gt	LBB0_10
LBB0_11:
	ldr	x0, [x19, #8]
	bl	_kfree
	b	LBB0_13
LBB0_12:
	mov	w21, #0
LBB0_13:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_nvmet_rdma_alloc_rsps
.subsections_via_symbols
