	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_loop_create_io_queues
_nvme_loop_create_io_queues:            ## @nvme_loop_create_io_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_nvme_loop_init_io_queues
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_nvme_loop_mq_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	72(%rbx), %rax
	movq	80(%rbx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rbx)
	movl	$1, (%rbx)
	movq	_NUMA_NO_NODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rbx)
	movq	_BLK_MQ_F_SHOULD_MERGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx)
	movq	_SG_CHUNK_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	4(,%rcx,4), %ecx
	movl	%ecx, 4(%rbx)
	movq	%rbx, 24(%rbx)
	decq	%rax
	movq	%rax, 16(%rbx)
	movq	_NVME_IO_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, 64(%rbx)
	movq	%rbx, %rdi
	callq	_blk_mq_alloc_tag_set
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	%rbx, %rdi
	callq	_blk_mq_init_queue
	movl	%eax, 56(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	56(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	callq	_nvme_loop_connect_io_queues
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %r14d
	movl	56(%rbx), %edi
	callq	_blk_cleanup_queue
LBB0_7:
	movq	%rbx, %rdi
	callq	_blk_mq_free_tag_set
LBB0_8:
	movq	%rbx, %rdi
	callq	_nvme_loop_destroy_io_queues
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_loop_mq_ops,4,2           ## @nvme_loop_mq_ops
	.comm	_NUMA_NO_NODE,4,2               ## @NUMA_NO_NODE
	.comm	_BLK_MQ_F_SHOULD_MERGE,4,2      ## @BLK_MQ_F_SHOULD_MERGE
	.comm	_SG_CHUNK_SIZE,4,2              ## @SG_CHUNK_SIZE
	.comm	_NVME_IO_TIMEOUT,4,2            ## @NVME_IO_TIMEOUT
	.no_dead_strip	_nvme_loop_create_io_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_loop_create_io_queues
_nvme_loop_create_io_queues:            ; @nvme_loop_create_io_queues
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_nvme_loop_init_io_queues
	mov	x20, x0
	cbnz	w0, LBB0_8
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh0:
	adrp	x8, _nvme_loop_mq_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_loop_mq_ops@GOTPAGEOFF]
	str	x8, [x19, #48]
	ldp	x9, x8, [x19, #72]
	ldr	w8, [x8]
	str	w8, [x19, #40]
	mov	w8, #1
	str	w8, [x19]
Lloh2:
	adrp	x8, _NUMA_NO_NODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NUMA_NO_NODE@GOTPAGEOFF]
Lloh4:
	adrp	x10, _BLK_MQ_F_SHOULD_MERGE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _BLK_MQ_F_SHOULD_MERGE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w10, [x10]
	stp	w10, w8, [x19, #32]
Lloh8:
	adrp	x8, _SG_CHUNK_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SG_CHUNK_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	w8, w8, #2
	add	w8, w8, #4
	sub	x9, x9, #1
	stp	x9, x19, [x19, #16]
Lloh11:
	adrp	x9, _NVME_IO_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NVME_IO_TIMEOUT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #4]
	str	x19, [x19, #64]
	mov	x0, x19
	bl	_blk_mq_alloc_tag_set
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_blk_mq_init_queue
	str	w0, [x19, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #56]
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_nvme_loop_connect_io_queues
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.5:
	ldr	w0, [x19, #56]
	bl	_blk_cleanup_queue
LBB0_6:
	mov	x0, x19
	bl	_blk_mq_free_tag_set
LBB0_7:
	mov	x0, x19
	bl	_nvme_loop_destroy_io_queues
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_loop_mq_ops,4,2           ; @nvme_loop_mq_ops
	.comm	_NUMA_NO_NODE,4,2               ; @NUMA_NO_NODE
	.comm	_BLK_MQ_F_SHOULD_MERGE,4,2      ; @BLK_MQ_F_SHOULD_MERGE
	.comm	_SG_CHUNK_SIZE,4,2              ; @SG_CHUNK_SIZE
	.comm	_NVME_IO_TIMEOUT,4,2            ; @NVME_IO_TIMEOUT
	.no_dead_strip	_nvme_loop_create_io_queues
.subsections_via_symbols
