	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_alloc_queue
_nvme_tcp_alloc_queue:                  ## @nvme_tcp_alloc_queue
	.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	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_to_tcp_ctrl
	movq	8(%rax), %r12
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %rbx
	movq	%rbx, %r14
	shlq	$7, %r14
	movq	$1, -80(%rbp)
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, 120(%r12,%r14)
	leaq	(%r12,%r14), %rdi
	addq	$116, %rdi
	callq	_INIT_LIST_HEAD
	leaq	(%r12,%r14), %rdi
	addq	$112, %rdi
	callq	_spin_lock_init
	leaq	(%r12,%r14), %rdi
	addq	$108, %rdi
	movq	_nvme_tcp_io_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%r15, (%r12,%r14)
	testl	%ebx, %ebx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_2
## %bb.1:
	movl	(%r13), %eax
	shll	$4, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_NVME_TCP_ADMIN_CCSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$4, %eax
LBB0_3:
	movl	%eax, 8(%r12,%r14)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	(%r12,%r14), %r13
	addq	$16, %r13
	movq	%r13, %rcx
	callq	_sock_create
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_37
LBB0_5:
	movl	$1, -52(%rbp)
	movq	(%r13), %rdi
	movl	(%r15), %esi
	movq	_TCP_SYNCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-52(%rbp), %rcx
	movl	$4, %r8d
	callq	_kernel_setsockopt
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_9:
	movl	$1, -52(%rbp)
	movq	(%r13), %rdi
	movl	(%r15), %esi
	movq	_TCP_NODELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-52(%rbp), %rcx
	movl	$4, %r8d
	callq	_kernel_setsockopt
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_7
LBB0_11:
	movq	(%r13), %rdi
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_LINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rcx
	movl	$8, %r8d
	callq	_kernel_setsockopt
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_7:
	movl	%ebx, %edx
LBB0_8:
	xorl	%eax, %eax
	callq	_dev_err
LBB0_36:
	movq	(%r13), %rdi
	callq	_sock_release
	movq	$0, (%r13)
LBB0_37:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	js	LBB0_16
## %bb.14:
	movl	%eax, -52(%rbp)
	movq	(%r13), %rdi
	movq	_SOL_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IP_TOS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-52(%rbp), %rcx
	movl	$4, %r8d
	callq	_kernel_setsockopt
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_7
LBB0_16:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r13), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 32(%rcx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	leal	-1(%rax), %ebx
	xorl	%eax, %eax
	callq	_num_online_cpus
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%edx, %edi
	decl	%edi
	jmp	LBB0_19
LBB0_17:
	movl	$-1, %edi
LBB0_19:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	_cpu_online_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	callq	_cpumask_next_wrap
	movl	%eax, 104(%r12,%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%r12,%r14)
	movups	%xmm0, 80(%r12,%r14)
	movq	$0, 96(%r12,%r14)
	movq	(%r13), %rax
	movq	(%rax), %rdi
	callq	_sk_set_memalloc
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_NVMF_OPT_HOST_TRADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_22
## %bb.20:
	movq	(%r13), %rdi
	movq	%r15, %rsi
	addq	$4, %rsi
	movl	$4, %edx
	callq	_kernel_bind
	testl	%eax, %eax
	je	LBB0_21
## %bb.38:
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_36
LBB0_21:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
LBB0_22:
	leaq	(%r12,%r14), %rdx
	movq	16(%rax), %rcx
	movq	%rcx, 32(%r12,%r14)
	movq	8(%rax), %rax
	movq	%rax, 24(%r12,%r14)
	orq	%rax, %rcx
	je	LBB0_25
## %bb.23:
	movq	%rdx, %rbx
	movq	%rdx, %rdi
	callq	_nvme_tcp_alloc_crypto
	movq	%rbx, %rdx
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_8
LBB0_25:
	movq	%rdx, %rdi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	callq	_nvme_tcp_hdgst_len
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movl	%eax, 40(%r12,%r14)
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	4(%r15), %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_nvme_tcp_queue_id
	leaq	L_.str.7(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_dev_dbg
	movq	(%r13), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_kernel_connect
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	movl	%eax, %ebx
	movl	4(%r15), %edi
	leaq	L_.str.8(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_32
LBB0_26:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_33
LBB0_29:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_nvme_tcp_init_connection
	testl	%eax, %eax
	je	LBB0_30
## %bb.31:
	movl	%eax, %ebx
	movq	(%r13), %rdi
	movq	_SHUT_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kernel_sock_shutdown
LBB0_32:
	leaq	(%r12,%r14), %rax
	addq	$40, %rax
	movl	(%rax), %edi
	callq	_kfree
LBB0_33:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%r12,%r14), %rax
	addq	$32, %rax
	cmpq	$0, (%rax)
	jne	LBB0_35
## %bb.34:
	leaq	(%r12,%r14), %rax
	addq	$24, %rax
	cmpq	$0, (%rax)
	je	LBB0_36
LBB0_35:
	callq	_nvme_tcp_free_crypto
	jmp	LBB0_36
LBB0_30:
	movl	$1, 12(%r12,%r14)
	movq	_NVME_TCP_Q_ALLOCATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%r12,%r14), %rsi
	addq	$56, %rsi
	callq	_set_bit
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_nvme_tcp_init_recv_ctx
	movq	(%r13), %rax
	movq	(%rax), %rdi
	addq	$4, %rdi
	callq	_write_lock_bh
	movq	(%r13), %rax
	movq	(%rax), %rdi
	movq	%rbx, 24(%rdi)
	movl	12(%rdi), %eax
	movl	%eax, 52(%r12,%r14)
	movl	16(%rdi), %eax
	movl	%eax, 48(%r12,%r14)
	movl	8(%rdi), %eax
	movl	%eax, 44(%r12,%r14)
	movq	_nvme_tcp_data_ready@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_nvme_tcp_state_change@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	_nvme_tcp_write_space@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	addq	$4, %rdi
	callq	_write_unlock_bh
	xorl	%ebx, %ebx
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_tcp_io_work,4,2           ## @nvme_tcp_io_work
	.comm	_NVME_TCP_ADMIN_CCSZ,4,2        ## @NVME_TCP_ADMIN_CCSZ
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to create socket: %d\n"

	.comm	_TCP_SYNCNT,4,2                 ## @TCP_SYNCNT
L_.str.1:                               ## @.str.1
	.asciz	"failed to set TCP_SYNCNT sock opt %d\n"

	.comm	_TCP_NODELAY,4,2                ## @TCP_NODELAY
L_.str.2:                               ## @.str.2
	.asciz	"failed to set TCP_NODELAY sock opt %d\n"

	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_LINGER,4,2                  ## @SO_LINGER
L_.str.3:                               ## @.str.3
	.asciz	"failed to set SO_LINGER sock opt %d\n"

	.comm	_SOL_IP,4,2                     ## @SOL_IP
	.comm	_IP_TOS,4,2                     ## @IP_TOS
L_.str.4:                               ## @.str.4
	.asciz	"failed to set IP_TOS sock opt %d\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_cpu_online_mask,4,2            ## @cpu_online_mask
	.comm	_NVMF_OPT_HOST_TRADDR,4,2       ## @NVMF_OPT_HOST_TRADDR
L_.str.5:                               ## @.str.5
	.asciz	"failed to bind queue %d socket %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"failed to allocate queue %d crypto\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.7:                               ## @.str.7
	.asciz	"connecting queue %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"failed to connect socket: %d\n"

	.comm	_NVME_TCP_Q_ALLOCATED,4,2       ## @NVME_TCP_Q_ALLOCATED
	.comm	_nvme_tcp_data_ready,4,2        ## @nvme_tcp_data_ready
	.comm	_nvme_tcp_state_change,4,2      ## @nvme_tcp_state_change
	.comm	_nvme_tcp_write_space,4,2       ## @nvme_tcp_write_space
	.comm	_SHUT_RDWR,4,2                  ## @SHUT_RDWR
	.no_dead_strip	_nvme_tcp_alloc_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_tcp_alloc_queue
_nvme_tcp_alloc_queue:                  ; @nvme_tcp_alloc_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	bl	_to_tcp_ctrl
	mov	x22, x0
	ldr	x25, [x0, #8]
	sxtw	x26, w23
	add	x20, x25, x26, lsl #7
	mov	w8, #1
	str	x8, [sp, #24]
	str	x0, [x20, #120]
	add	x0, x20, #116
	bl	_INIT_LIST_HEAD
	add	x0, x20, #112
	bl	_spin_lock_init
	add	x0, x20, #108
Lloh0:
	adrp	x8, _nvme_tcp_io_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_tcp_io_work@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_WORK
	str	x19, [x20]
	subs	w27, w23, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w8, [x21]
	lsl	w8, w8, #4
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _NVME_TCP_ADMIN_CCSZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVME_TCP_ADMIN_CCSZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #4
LBB0_3:
	add	x9, x25, x26, lsl #7
	str	w8, [x9, #8]
Lloh6:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x28, _IPPROTO_TCP@GOTPAGE
Lloh10:
	ldr	x28, [x28, _IPPROTO_TCP@GOTPAGEOFF]
	ldr	w2, [x28]
	add	x19, x9, #16
	mov	x3, x19
	bl	_sock_create
	cbz	w0, LBB0_5
; %bb.4:
	mov	x24, x0
	ldr	w0, [x21, #4]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_dev_err
	b	LBB0_14
LBB0_5:
	str	w27, [sp, #8]                   ; 4-byte Folded Spill
	mov	w27, #1
	str	w27, [sp, #20]
	ldr	x0, [x19]
	ldr	w1, [x28]
Lloh13:
	adrp	x8, _TCP_SYNCNT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TCP_SYNCNT@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	add	x3, sp, #20
	mov	w4, #4
	bl	_kernel_setsockopt
	cbz	w0, LBB0_7
; %bb.6:
	mov	x24, x0
	ldr	w0, [x21, #4]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_7:
	str	w27, [sp, #20]
	ldr	x0, [x19]
	ldr	w1, [x28]
Lloh18:
	adrp	x8, _TCP_NODELAY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TCP_NODELAY@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x3, sp, #20
	mov	w4, #4
	bl	_kernel_setsockopt
	cbz	w0, LBB0_9
; %bb.8:
	mov	x24, x0
	ldr	w0, [x21, #4]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_9:
	ldr	x0, [x19]
Lloh23:
	adrp	x8, _SOL_SOCKET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _SO_LINGER@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SO_LINGER@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	add	x3, sp, #24
	mov	w4, #8
	bl	_kernel_setsockopt
	cbz	w0, LBB0_15
; %bb.10:
	mov	x24, x0
	ldr	w0, [x21, #4]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_11:
	mov	x2, x24
LBB0_12:
	bl	_dev_err
LBB0_13:
	ldr	x0, [x19]
	bl	_sock_release
	str	xzr, [x19]
LBB0_14:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_15:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	tbnz	w8, #31, LBB0_18
; %bb.16:
	str	w8, [sp, #20]
	ldr	x0, [x19]
Lloh31:
	adrp	x8, _SOL_IP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SOL_IP@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x8, _IP_TOS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IP_TOS@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	add	x3, sp, #20
	mov	w4, #4
	bl	_kernel_setsockopt
	cbz	w0, LBB0_18
; %bb.17:
	mov	x24, x0
	ldr	w0, [x21, #4]
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_11
LBB0_18:
Lloh39:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	str	w8, [x9, #32]
	cbz	w23, LBB0_20
; %bb.19:
	bl	_num_online_cpus
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	sdiv	w8, w9, w0
	mul	w8, w8, w0
	mvn	w8, w8
	add	w0, w8, w9
	b	LBB0_21
LBB0_20:
	mov	w0, #-1
LBB0_21:
Lloh42:
	adrp	x8, _cpu_online_mask@GOTPAGE
Lloh43:
	ldr	x8, [x8, _cpu_online_mask@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	w2, #-1
	mov	w3, #0
	bl	_cpumask_next_wrap
	add	x27, x25, x26, lsl #7
	str	w0, [x27, #104]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x27, #64]
	str	xzr, [x27, #96]
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_sk_set_memalloc
	ldr	x8, [x21, #8]
	ldr	w9, [x8, #4]
Lloh45:
	adrp	x10, _NVMF_OPT_HOST_TRADDR@GOTPAGE
Lloh46:
	ldr	x10, [x10, _NVMF_OPT_HOST_TRADDR@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_25
; %bb.22:
	ldr	x0, [x19]
	add	x1, x22, #4
	mov	w2, #4
	bl	_kernel_bind
	cbz	w0, LBB0_24
; %bb.23:
	mov	x24, x0
	ldr	w0, [x21, #4]
	str	x24, [sp]
Lloh48:
	adrp	x1, l_.str.5@PAGE
Lloh49:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_28
LBB0_24:
	ldr	x8, [x21, #8]
LBB0_25:
	ldp	x8, x9, [x8, #8]
	str	x9, [x27, #32]!
	mov	x10, x27
	str	x8, [x10, #-8]!
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	orr	x8, x9, x8
	cbz	x8, LBB0_29
; %bb.26:
	mov	x0, x20
	bl	_nvme_tcp_alloc_crypto
	cbz	w0, LBB0_29
; %bb.27:
	mov	x24, x0
	ldr	w0, [x21, #4]
Lloh50:
	adrp	x1, l_.str.6@PAGE
Lloh51:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_28:
	mov	x2, x23
	b	LBB0_12
LBB0_29:
	mov	x0, x20
	bl	_nvme_tcp_hdgst_len
	add	w0, w0, #4
Lloh52:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	bl	_kmalloc
	add	x28, x25, x26, lsl #7
	str	w0, [x28, #40]!
	cbz	w0, LBB0_32
; %bb.30:
	ldr	w23, [x21, #4]
	mov	x0, x20
	bl	_nvme_tcp_queue_id
	mov	x2, x0
Lloh55:
	adrp	x1, l_.str.7@PAGE
Lloh56:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	bl	_dev_dbg
	ldr	x0, [x19]
	mov	x1, x22
	mov	w2, #4
	mov	w3, #0
	bl	_kernel_connect
	cbz	w0, LBB0_33
; %bb.31:
	mov	x24, x0
	ldr	w0, [x21, #4]
Lloh57:
	adrp	x1, l_.str.8@PAGE
Lloh58:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x24
	bl	_dev_err
	b	LBB0_35
LBB0_32:
Lloh59:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_36
LBB0_33:
	mov	x0, x20
	bl	_nvme_tcp_init_connection
	mov	x24, x0
	cbz	w0, LBB0_39
; %bb.34:
	ldr	x0, [x19]
Lloh62:
	adrp	x8, _SHUT_RDWR@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SHUT_RDWR@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	bl	_kernel_sock_shutdown
LBB0_35:
	ldr	w0, [x28]
	bl	_kfree
LBB0_36:
	ldr	x8, [x27]
	cbnz	x8, LBB0_38
; %bb.37:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbz	x8, LBB0_13
LBB0_38:
	mov	x0, x20
	bl	_nvme_tcp_free_crypto
	b	LBB0_13
LBB0_39:
	add	x21, x25, x26, lsl #7
	mov	w8, #1
	str	w8, [x21, #12]
Lloh65:
	adrp	x8, _NVME_TCP_Q_ALLOCATED@GOTPAGE
Lloh66:
	ldr	x8, [x8, _NVME_TCP_Q_ALLOCATED@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	add	x1, x21, #56
	bl	_set_bit
	mov	x0, x20
	bl	_nvme_tcp_init_recv_ctx
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, #4
	bl	_write_lock_bh
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldur	d0, [x8, #12]
	rev64.2s	v0, v0
	str	d0, [x21, #48]
	ldr	w9, [x8, #8]
	str	w9, [x21, #44]
Lloh68:
	adrp	x9, _nvme_tcp_data_ready@GOTPAGE
Lloh69:
	ldr	x9, [x9, _nvme_tcp_data_ready@GOTPAGEOFF]
	str	x20, [x8, #24]
Lloh70:
	ldr	w9, [x9]
	str	w9, [x8, #16]
Lloh71:
	adrp	x9, _nvme_tcp_state_change@GOTPAGE
Lloh72:
	ldr	x9, [x9, _nvme_tcp_state_change@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
Lloh74:
	adrp	x10, _nvme_tcp_write_space@GOTPAGE
Lloh75:
	ldr	x10, [x10, _nvme_tcp_write_space@GOTPAGEOFF]
Lloh76:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #8]
	add	x0, x8, #4
	bl	_write_unlock_bh
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_tcp_io_work,4,2           ; @nvme_tcp_io_work
	.comm	_NVME_TCP_ADMIN_CCSZ,4,2        ; @NVME_TCP_ADMIN_CCSZ
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to create socket: %d\n"

	.comm	_TCP_SYNCNT,4,2                 ; @TCP_SYNCNT
l_.str.1:                               ; @.str.1
	.asciz	"failed to set TCP_SYNCNT sock opt %d\n"

	.comm	_TCP_NODELAY,4,2                ; @TCP_NODELAY
l_.str.2:                               ; @.str.2
	.asciz	"failed to set TCP_NODELAY sock opt %d\n"

	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_LINGER,4,2                  ; @SO_LINGER
l_.str.3:                               ; @.str.3
	.asciz	"failed to set SO_LINGER sock opt %d\n"

	.comm	_SOL_IP,4,2                     ; @SOL_IP
	.comm	_IP_TOS,4,2                     ; @IP_TOS
l_.str.4:                               ; @.str.4
	.asciz	"failed to set IP_TOS sock opt %d\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_cpu_online_mask,4,2            ; @cpu_online_mask
	.comm	_NVMF_OPT_HOST_TRADDR,4,2       ; @NVMF_OPT_HOST_TRADDR
l_.str.5:                               ; @.str.5
	.asciz	"failed to bind queue %d socket %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"failed to allocate queue %d crypto\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.7:                               ; @.str.7
	.asciz	"connecting queue %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"failed to connect socket: %d\n"

	.comm	_NVME_TCP_Q_ALLOCATED,4,2       ; @NVME_TCP_Q_ALLOCATED
	.comm	_nvme_tcp_data_ready,4,2        ; @nvme_tcp_data_ready
	.comm	_nvme_tcp_state_change,4,2      ; @nvme_tcp_state_change
	.comm	_nvme_tcp_write_space,4,2       ; @nvme_tcp_write_space
	.comm	_SHUT_RDWR,4,2                  ; @SHUT_RDWR
	.no_dead_strip	_nvme_tcp_alloc_queue
.subsections_via_symbols
