	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_free_queue
_nvme_tcp_free_queue:                   ## @nvme_tcp_free_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_to_tcp_ctrl
	movq	(%rax), %r15
	movslq	%r14d, %rbx
	shlq	$5, %rbx
	movq	_NVME_TCP_Q_ALLOCATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%r15,%rbx), %rsi
	addq	$24, %rsi
	callq	_test_and_clear_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	leaq	(%r15,%rbx), %r14
	cmpq	$0, 16(%r15,%rbx)
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 8(%r15,%rbx)
	je	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_nvme_tcp_free_crypto
LBB0_4:
	movl	4(%r15,%rbx), %edi
	callq	_sock_release
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_TCP_Q_ALLOCATED,4,2       ## @NVME_TCP_Q_ALLOCATED
	.no_dead_strip	_nvme_tcp_free_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_free_queue
_nvme_tcp_free_queue:                   ; @nvme_tcp_free_queue
	.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	x19, x1
	bl	_to_tcp_ctrl
	ldr	x20, [x0]
	sxtw	x21, w19
	add	x19, x20, x21, lsl #5
Lloh0:
	adrp	x8, _NVME_TCP_Q_ALLOCATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_TCP_Q_ALLOCATED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_and_clear_bit
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_3
; %bb.2:
	add	x8, x20, x21, lsl #5
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_nvme_tcp_free_crypto
LBB0_4:
	add	x8, x20, x21, lsl #5
	ldr	w0, [x8, #4]
	bl	_sock_release
	ldr	w0, [x19]
	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	_kfree
LBB0_5:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_TCP_Q_ALLOCATED,4,2       ; @NVME_TCP_Q_ALLOCATED
	.no_dead_strip	_nvme_tcp_free_queue
.subsections_via_symbols
