	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_init_connection
_nvme_tcp_init_connection:              ## @nvme_tcp_init_connection
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	$0, -48(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r14
	movl	(%rbx), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	movq	%rax, %rbx
	movq	_nvme_tcp_icreq@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movl	$72, 32(%r14)
	movq	$0, 48(%r14)
	movl	$72, %edi
	callq	_cpu_to_le32
	movq	%rax, 40(%r14)
	movq	_NVME_TCP_PFV_1_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	movq	%rax, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%r14)
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.3:
	movq	_NVME_TCP_HDR_DIGEST_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_4:
	cmpq	$0, 8(%r12)
	je	LBB0_6
## %bb.5:
	movq	_NVME_TCP_DATA_DIGEST_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
LBB0_6:
	movq	%r14, -64(%rbp)
	movl	$72, -72(%rbp)
	movl	16(%r12), %edi
	leaq	-48(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movl	$1, %ecx
	movl	$72, %r8d
	callq	_kernel_sendmsg
	testl	%eax, %eax
	js	LBB0_20
## %bb.7:
	leaq	-48(%rbp), %r13
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, -64(%rbp)
	movl	$72, -72(%rbp)
	movl	16(%r12), %edi
	movl	-48(%rbp), %r9d
	leaq	-72(%rbp), %rdx
	movq	%r13, %rsi
	movl	$1, %ecx
	movl	$72, %r8d
	callq	_kernel_recvmsg
	testl	%eax, %eax
	js	LBB0_20
## %bb.8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movq	24(%rbx), %rax
	movq	_nvme_tcp_icresp@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.9:
	movq	40(%rbx), %rdi
	callq	_le32_to_cpu
	cmpl	$72, %eax
	jne	LBB0_22
## %bb.10:
	movq	(%rbx), %rax
	movq	_NVME_TCP_PFV_1_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.11:
	movl	8(%rbx), %esi
	movq	_NVME_TCP_DATA_DIGEST_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%esi, %r13d
	setne	%al
	cmpq	$0, 8(%r12)
	sete	%cl
	movl	%ecx, %edx
	orb	%al, %dl
	cmpb	$1, %dl
	jne	LBB0_28
## %bb.12:
	andb	%al, %cl
	jne	LBB0_28
## %bb.13:
	movq	_NVME_TCP_HDR_DIGEST_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%esi, %r13d
	setne	%al
	cmpq	$0, (%r12)
	sete	%cl
	movl	%ecx, %edx
	orb	%al, %dl
	cmpb	$1, %dl
	jne	LBB0_29
## %bb.14:
	andb	%al, %cl
	jne	LBB0_29
## %bb.15:
	cmpq	$0, 16(%rbx)
	je	LBB0_31
## %bb.16:
	movq	%r12, %rdi
	callq	_nvme_tcp_queue_id
	movq	16(%rbx), %rdx
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_24
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_27
LBB0_20:
	movl	%eax, %r15d
	jmp	LBB0_25
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_26
LBB0_21:
	movq	%r12, %rdi
	callq	_nvme_tcp_queue_id
	movq	24(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_24
LBB0_22:
	movq	%r12, %rdi
	callq	_nvme_tcp_queue_id
	movq	40(%rbx), %rdx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_24
LBB0_23:
	movq	%r12, %rdi
	callq	_nvme_tcp_queue_id
	movq	(%rbx), %rdx
	leaq	L_.str.2(%rip), %rdi
LBB0_24:
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_25:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_26:
	movq	%r14, %rdi
	callq	_kfree
LBB0_27:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	%r12, %rdi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	callq	_nvme_tcp_queue_id
	cmpq	$0, 8(%r12)
	leaq	L_.str.5(%rip), %rsi
	leaq	L_.str.4(%rip), %rcx
	movq	%rcx, %rdx
	cmoveq	%rsi, %rdx
	testl	%r13d, -52(%rbp)                ## 4-byte Folded Reload
	cmoveq	%rsi, %rcx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_30
LBB0_29:
	movq	%r12, %rdi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	callq	_nvme_tcp_queue_id
	cmpq	$0, (%r12)
	leaq	L_.str.5(%rip), %rsi
	leaq	L_.str.4(%rip), %rcx
	movq	%rcx, %rdx
	cmoveq	%rsi, %rdx
	testl	%r13d, -52(%rbp)                ## 4-byte Folded Reload
	cmoveq	%rsi, %rcx
	leaq	L_.str.6(%rip), %rdi
LBB0_30:
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_25
LBB0_31:
	xorl	%r15d, %r15d
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nvme_tcp_icreq,8,3             ## @nvme_tcp_icreq
	.comm	_NVME_TCP_PFV_1_0,8,3           ## @NVME_TCP_PFV_1_0
	.comm	_NVME_TCP_HDR_DIGEST_ENABLE,4,2 ## @NVME_TCP_HDR_DIGEST_ENABLE
	.comm	_NVME_TCP_DATA_DIGEST_ENABLE,4,2 ## @NVME_TCP_DATA_DIGEST_ENABLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_nvme_tcp_icresp,8,3            ## @nvme_tcp_icresp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue %d: bad type returned %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"queue %d: bad pdu length returned %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"queue %d: bad pfv returned %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"queue %d: data digest mismatch host: %s ctrl: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"enabled"

L_.str.5:                               ## @.str.5
	.asciz	"disabled"

L_.str.6:                               ## @.str.6
	.asciz	"queue %d: header digest mismatch host: %s ctrl: %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"queue %d: unsupported cpda returned %d\n"

	.no_dead_strip	_nvme_tcp_init_connection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_tcp_init_connection
_nvme_tcp_init_connection:              ; @nvme_tcp_init_connection
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
	str	wzr, [sp, #24]
Lloh0:
	adrp	x20, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #72
	bl	_kzalloc
	cbz	x0, LBB0_17
; %bb.1:
	mov	x19, x0
	ldr	w1, [x20]
	mov	w21, #72
	mov	w0, #72
	bl	_kzalloc
	cbz	x0, LBB0_19
; %bb.2:
	mov	x20, x0
Lloh2:
	adrp	x8, _nvme_tcp_icreq@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nvme_tcp_icreq@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	str	w21, [x19, #32]
	str	xzr, [x19, #48]
	mov	w0, #72
	bl	_cpu_to_le32
	str	x0, [x19, #40]
Lloh5:
	adrp	x23, _NVME_TCP_PFV_1_0@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NVME_TCP_PFV_1_0@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_cpu_to_le16
	str	x0, [x19]
	stp	xzr, xzr, [x19, #56]
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _NVME_TCP_HDR_DIGEST_ENABLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NVME_TCP_HDR_DIGEST_ENABLE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_4:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh10:
	adrp	x8, _NVME_TCP_DATA_DIGEST_ENABLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NVME_TCP_DATA_DIGEST_ENABLE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_6:
	str	x19, [sp, #16]
	mov	w24, #72
	str	w24, [sp, #8]
	ldr	w0, [x22, #16]
	add	x1, sp, #24
	add	x2, sp, #8
	mov	w3, #1
	mov	w4, #72
	bl	_kernel_sendmsg
	tbnz	w0, #31, LBB0_18
; %bb.7:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	x20, [sp, #16]
	str	w24, [sp, #8]
	ldr	w0, [x22, #16]
	ldr	w5, [sp, #24]
	add	x1, sp, #24
	add	x2, sp, #8
	mov	w3, #1
	mov	w4, #72
	bl	_kernel_recvmsg
	tbnz	w0, #31, LBB0_18
; %bb.8:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	ldr	x8, [x20, #24]
Lloh16:
	adrp	x9, _nvme_tcp_icresp@GOTPAGE
Lloh17:
	ldr	x9, [x9, _nvme_tcp_icresp@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.9:
	ldr	x0, [x20, #40]
	bl	_le32_to_cpu
	cmp	w0, #72
	b.ne	LBB0_21
; %bb.10:
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.11:
	ldr	w8, [x20, #8]
Lloh19:
	adrp	x9, _NVME_TCP_DATA_DIGEST_ENABLE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _NVME_TCP_DATA_DIGEST_ENABLE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	ands	w23, w9, w8
	cset	w9, ne
	ldr	x10, [x22, #8]
	cmp	x10, #0
	cset	w10, eq
	orr	w11, w10, w9
	cmp	w11, #1
	b.ne	LBB0_23
; %bb.12:
	and	w9, w10, w9
	cbnz	w9, LBB0_23
; %bb.13:
Lloh22:
	adrp	x9, _NVME_TCP_HDR_DIGEST_ENABLE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _NVME_TCP_HDR_DIGEST_ENABLE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	ands	w23, w9, w8
	cset	w8, ne
	ldr	x9, [x22]
	cmp	x9, #0
	cset	w9, eq
	orr	w10, w9, w8
	cmp	w10, #1
	b.ne	LBB0_24
; %bb.14:
	and	w8, w9, w8
	cbnz	w8, LBB0_24
; %bb.15:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_29
; %bb.16:
	mov	x0, x22
	bl	_nvme_tcp_queue_id
	mov	x1, x0
	ldr	x2, [x20, #16]
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_25
LBB0_17:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_28
LBB0_18:
	mov	x21, x0
	b	LBB0_26
LBB0_19:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_27
LBB0_20:
	mov	x0, x22
	bl	_nvme_tcp_queue_id
	mov	x1, x0
	ldr	x2, [x20, #24]
Lloh33:
	adrp	x0, l_.str@PAGE
Lloh34:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_25
LBB0_21:
	mov	x0, x22
	bl	_nvme_tcp_queue_id
	mov	x1, x0
	ldr	x2, [x20, #40]
Lloh35:
	adrp	x0, l_.str.1@PAGE
Lloh36:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_25
LBB0_22:
	mov	x0, x22
	bl	_nvme_tcp_queue_id
	mov	x1, x0
	ldr	x2, [x20]
Lloh37:
	adrp	x0, l_.str.2@PAGE
Lloh38:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_25
LBB0_23:
	mov	x0, x22
	bl	_nvme_tcp_queue_id
	mov	x1, x0
	ldr	x8, [x22, #8]
Lloh39:
	adrp	x9, l_.str.4@PAGE
Lloh40:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh41:
	adrp	x10, l_.str.5@PAGE
Lloh42:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	x8, #0
	csel	x2, x10, x9, eq
	cmp	w23, #0
	csel	x8, x9, x10, ne
	str	x8, [sp]
Lloh43:
	adrp	x0, l_.str.3@PAGE
Lloh44:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_24:
	mov	x0, x22
	bl	_nvme_tcp_queue_id
	mov	x1, x0
	ldr	x8, [x22]
Lloh45:
	adrp	x9, l_.str.4@PAGE
Lloh46:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh47:
	adrp	x10, l_.str.5@PAGE
Lloh48:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	x8, #0
	csel	x2, x10, x9, eq
	cmp	w23, #0
	csel	x8, x9, x10, ne
	str	x8, [sp]
Lloh49:
	adrp	x0, l_.str.6@PAGE
Lloh50:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_25:
	bl	_pr_err
LBB0_26:
	mov	x0, x20
	bl	_kfree
LBB0_27:
	mov	x0, x19
	bl	_kfree
LBB0_28:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_29:
	mov	w21, #0
	b	LBB0_26
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nvme_tcp_icreq,8,3             ; @nvme_tcp_icreq
	.comm	_NVME_TCP_PFV_1_0,8,3           ; @NVME_TCP_PFV_1_0
	.comm	_NVME_TCP_HDR_DIGEST_ENABLE,4,2 ; @NVME_TCP_HDR_DIGEST_ENABLE
	.comm	_NVME_TCP_DATA_DIGEST_ENABLE,4,2 ; @NVME_TCP_DATA_DIGEST_ENABLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_nvme_tcp_icresp,8,3            ; @nvme_tcp_icresp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue %d: bad type returned %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"queue %d: bad pdu length returned %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"queue %d: bad pfv returned %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"queue %d: data digest mismatch host: %s ctrl: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"enabled"

l_.str.5:                               ; @.str.5
	.asciz	"disabled"

l_.str.6:                               ; @.str.6
	.asciz	"queue %d: header digest mismatch host: %s ctrl: %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"queue %d: unsupported cpda returned %d\n"

	.no_dead_strip	_nvme_tcp_init_connection
.subsections_via_symbols
