	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_tcp_alloc_cmd
_nvmet_tcp_alloc_cmd:                   ## @nvmet_tcp_alloc_cmd
	.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, %rbx
	movq	%rdi, %r14
	callq	_nvmet_tcp_hdgst_len
	movq	%rax, %r15
	movq	%r14, 64(%rbx)
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	leaq	4(%r14), %r12
	leaq	8(%r15), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	___GFP_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_page_frag_alloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	addq	$4, %rax
	movq	%rax, 48(%rbx)
	movq	___GFP_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_page_frag_alloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, 40(%rbx)
	movq	___GFP_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_page_frag_alloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	incq	%r15
	movq	___GFP_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_page_frag_alloc
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movq	_MSG_NOSIGNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 28(%rbx)
	addq	$24, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_5:
	movq	16(%rbx), %rdi
	callq	_page_frag_free
LBB0_6:
	movq	8(%rbx), %rdi
	callq	_page_frag_free
LBB0_7:
	movq	(%rbx), %rdi
	callq	_page_frag_free
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ## @__GFP_ZERO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_MSG_NOSIGNAL,4,2               ## @MSG_NOSIGNAL
	.no_dead_strip	_nvmet_tcp_alloc_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_tcp_alloc_cmd
_nvmet_tcp_alloc_cmd:                   ; @nvmet_tcp_alloc_cmd
	.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, x1
	mov	x20, x0
	bl	_nvmet_tcp_hdgst_len
	mov	x21, x0
	str	x20, [x19, #64]
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	w8, [x19, #56]
	add	x22, x20, #4
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	add	x23, x0, #8
	ldr	w8, [x24]
Lloh2:
	adrp	x25, ___GFP_ZERO@GOTPAGE
Lloh3:
	ldr	x25, [x25, ___GFP_ZERO@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w2, w9, w8
	mov	x0, x22
	mov	x1, x23
	bl	_page_frag_alloc
	str	x0, [x19]
	cbz	x0, LBB0_8
; %bb.1:
	add	x8, x0, #4
	str	x8, [x19, #48]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w2, w9, w8
	mov	x0, x22
	mov	x1, x23
	bl	_page_frag_alloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.2:
	str	x0, [x19, #40]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w2, w9, w8
	mov	x0, x22
	mov	x1, x23
	bl	_page_frag_alloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_6
; %bb.3:
	add	x1, x21, #1
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w2, w9, w8
	mov	x0, x22
	bl	_page_frag_alloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_5
; %bb.4:
Lloh4:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _MSG_NOSIGNAL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MSG_NOSIGNAL@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #28]
	add	x0, x19, #24
	mov	x1, x20
	bl	_list_add_tail
	mov	w0, #0
	b	LBB0_9
LBB0_5:
	ldr	x0, [x19, #16]
	bl	_page_frag_free
LBB0_6:
	ldr	x0, [x19, #8]
	bl	_page_frag_free
LBB0_7:
	ldr	x0, [x19]
	bl	_page_frag_free
LBB0_8:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ; @__GFP_ZERO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_MSG_NOSIGNAL,4,2               ; @MSG_NOSIGNAL
	.no_dead_strip	_nvmet_tcp_alloc_cmd
.subsections_via_symbols
