	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_map_queues
_nvme_tcp_map_queues:                   ## @nvme_tcp_map_queues
	.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, %r14
	movq	8(%rdi), %rbx
	movq	(%rbx), %rcx
	movq	16(%rbx), %r15
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.1:
	movq	_HCTX_TYPE_READ@GOTPCREL(%rip), %r8
	movq	(%r8), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_3
## %bb.2:
	movq	_HCTX_TYPE_DEFAULT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rdi
	movq	(%rcx,%rdi,8), %rdx
	movq	(%r14), %rax
	shlq	$4, %rdi
	movq	%rdx, 8(%rax,%rdi)
	movq	(%rsi), %rdx
	shlq	$4, %rdx
	movq	$0, (%rax,%rdx)
	movq	(%r8), %rdx
	movq	(%rcx,%rdx,8), %rdi
	shlq	$4, %rdx
	movq	%rdi, 8(%rax,%rdx)
	movq	(%rsi), %rdx
	movq	(%rcx,%rdx,8), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_HCTX_TYPE_DEFAULT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	(%rcx,%rsi,8), %rdi
	movq	(%r14), %rax
	shlq	$4, %rsi
	movq	%rdi, 8(%rax,%rsi)
	movq	(%rdx), %rsi
	shlq	$4, %rsi
	movq	$0, (%rax,%rsi)
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	_HCTX_TYPE_READ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$4, %rdx
	movq	%rcx, 8(%rax,%rdx)
	xorl	%ecx, %ecx
LBB0_4:
	movq	_HCTX_TYPE_READ@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	shlq	$4, %rdx
	movq	%rcx, (%rax,%rdx)
	movq	_HCTX_TYPE_DEFAULT@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	shlq	$4, %rdi
	addq	%rax, %rdi
	callq	_blk_mq_map_queues
	movq	(%r12), %rdi
	shlq	$4, %rdi
	addq	(%r14), %rdi
	callq	_blk_mq_map_queues
	cmpq	$0, (%r15)
	je	LBB0_7
## %bb.5:
	movq	(%rbx), %rcx
	movq	_HCTX_TYPE_POLL@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdx
	movq	(%rcx,%rdx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movq	(%r14), %rax
	shlq	$4, %rdx
	movq	%rsi, 8(%rax,%rdx)
	movq	(%r13), %rdx
	movq	(%r12), %rsi
	movq	(%rcx,%rsi,8), %rsi
	addq	(%rcx,%rdx,8), %rsi
	movq	(%rdi), %rcx
	shlq	$4, %rcx
	movq	%rsi, (%rax,%rcx)
	movq	(%rdi), %rdi
	shlq	$4, %rdi
	addq	%rax, %rdi
	callq	_blk_mq_map_queues
LBB0_7:
	movl	8(%rbx), %edi
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	_HCTX_TYPE_POLL@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rax,%rsi,8), %r8
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCTX_TYPE_READ,8,3             ## @HCTX_TYPE_READ
	.comm	_HCTX_TYPE_DEFAULT,8,3          ## @HCTX_TYPE_DEFAULT
	.comm	_HCTX_TYPE_POLL,8,3             ## @HCTX_TYPE_POLL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mapped %d/%d/%d default/read/poll queues.\n"

	.no_dead_strip	_nvme_tcp_map_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_tcp_map_queues
_nvme_tcp_map_queues:                   ; @nvme_tcp_map_queues
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x20, [x0, #8]
	ldr	x23, [x20, #16]
	ldr	x8, [x23, #8]
	ldr	x9, [x20]
Lloh0:
	adrp	x21, _HCTX_TYPE_READ@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HCTX_TYPE_READ@GOTPAGEOFF]
Lloh2:
	adrp	x22, _HCTX_TYPE_DEFAULT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HCTX_TYPE_DEFAULT@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x10, [x22]
	ldr	x11, [x9, x10, lsl #3]
	ldr	x8, [x19]
	add	x10, x8, x10, lsl #4
	str	x11, [x10, #8]
	ldr	x10, [x22]
	lsl	x10, x10, #4
	str	xzr, [x8, x10]
	ldr	x10, [x21]
	ldr	x11, [x9, x10, lsl #3]
	add	x10, x8, x10, lsl #4
	str	x11, [x10, #8]
	ldr	x10, [x22]
	ldr	x10, [x9, x10, lsl #3]
	b	LBB0_4
LBB0_3:
	mov	x10, #0
	ldr	x11, [x22]
	ldr	x12, [x9, x11, lsl #3]
	ldr	x8, [x19]
	add	x11, x8, x11, lsl #4
	str	x12, [x11, #8]
	ldr	x11, [x22]
	lsl	x11, x11, #4
	str	xzr, [x8, x11]
	ldr	x11, [x22]
	ldr	x9, [x9, x11, lsl #3]
	ldr	x11, [x21]
	add	x11, x8, x11, lsl #4
	str	x9, [x11, #8]
LBB0_4:
	ldr	x9, [x21]
	lsl	x9, x9, #4
	str	x10, [x8, x9]
	ldr	x9, [x22]
	add	x0, x8, x9, lsl #4
	bl	_blk_mq_map_queues
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #4
	bl	_blk_mq_map_queues
	ldr	x8, [x23]
Lloh4:
	adrp	x23, _HCTX_TYPE_POLL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _HCTX_TYPE_POLL@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x20]
	ldr	x10, [x23]
	ldr	x9, [x8, x10, lsl #3]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x11, [x19]
	add	x10, x11, x10, lsl #4
	str	x9, [x10, #8]
	ldr	x9, [x22]
	ldr	x9, [x8, x9, lsl #3]
	ldr	x10, [x21]
	ldr	x8, [x8, x10, lsl #3]
	add	x8, x8, x9
	ldr	x9, [x23]
	lsl	x9, x9, #4
	str	x8, [x11, x9]
	ldr	x8, [x23]
	add	x0, x11, x8, lsl #4
	bl	_blk_mq_map_queues
LBB0_7:
	ldr	w0, [x20, #8]
	ldr	x8, [x20]
	ldr	x9, [x22]
	ldr	x2, [x8, x9, lsl #3]
	ldr	x9, [x21]
	ldr	x3, [x8, x9, lsl #3]
	ldr	x9, [x23]
	ldr	x4, [x8, x9, lsl #3]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HCTX_TYPE_READ,8,3             ; @HCTX_TYPE_READ
	.comm	_HCTX_TYPE_DEFAULT,8,3          ; @HCTX_TYPE_DEFAULT
	.comm	_HCTX_TYPE_POLL,8,3             ; @HCTX_TYPE_POLL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mapped %d/%d/%d default/read/poll queues.\n"

	.no_dead_strip	_nvme_tcp_map_queues
.subsections_via_symbols
