	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_mpath_alloc_disk          ## -- Begin function nvme_mpath_alloc_disk
	.p2align	4, 0x90
_nvme_mpath_alloc_disk:                 ## @nvme_mpath_alloc_disk
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	28(%rsi), %rdi
	callq	_mutex_init
	leaq	24(%rbx), %rdi
	callq	_bio_list_init
	leaq	20(%rbx), %rdi
	callq	_spin_lock_init
	leaq	16(%rbx), %rdi
	movq	_nvme_requeue_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	8(%r14), %rax
	xorl	%r12d, %r12d
	testb	$2, (%rax)
	je	LBB0_7
## %bb.1:
	movq	_multipath@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	_blk_alloc_queue_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r15
	movq	%rbx, 8(%rax)
	movq	_nvme_ns_head_make_request@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_blk_queue_make_request
	movq	_QUEUE_FLAG_NONROT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_blk_queue_flag_set
	movq	%r15, %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_blk_queue_logical_block_size
	movq	%r15, %rdi
	callq	_blk_set_stacking_limits
	movq	_NVME_CTRL_VWC_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r14), %eax
	setne	%dl
	movq	%r15, %rdi
	movl	%edx, %esi
	callq	_blk_queue_write_cache
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_alloc_disk
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_nvme_ns_head_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 24(%rax)
	movq	%rbx, 16(%rax)
	movq	%r15, 8(%rax)
	movq	_GENHD_FL_EXT_DEVT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	(%rax), %edi
	movq	8(%r14), %rax
	movl	4(%rax), %edx
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	jmp	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	callq	_blk_cleanup_queue
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_7:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_requeue_work,4,2          ## @nvme_requeue_work
	.comm	_multipath,4,2                  ## @multipath
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_nvme_ns_head_make_request,4,2  ## @nvme_ns_head_make_request
	.comm	_QUEUE_FLAG_NONROT,4,2          ## @QUEUE_FLAG_NONROT
	.comm	_NVME_CTRL_VWC_PRESENT,4,2      ## @NVME_CTRL_VWC_PRESENT
	.comm	_nvme_ns_head_ops,4,2           ## @nvme_ns_head_ops
	.comm	_GENHD_FL_EXT_DEVT,4,2          ## @GENHD_FL_EXT_DEVT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nvme%dn%d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_mpath_alloc_disk          ; -- Begin function nvme_mpath_alloc_disk
	.p2align	2
_nvme_mpath_alloc_disk:                 ; @nvme_mpath_alloc_disk
	.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
	mov	x20, x0
	add	x0, x1, #28
	bl	_mutex_init
	add	x0, x19, #24
	bl	_bio_list_init
	add	x0, x19, #20
	bl	_spin_lock_init
	add	x0, x19, #16
Lloh0:
	adrp	x8, _nvme_requeue_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_requeue_work@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_WORK
	mov	w0, #0
	ldr	x8, [x20, #8]
	ldrb	w8, [x8]
	tbz	w8, #1, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _multipath@GOTPAGE
Lloh4:
	ldr	x8, [x8, _multipath@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
	bl	_blk_alloc_queue_node
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	str	x19, [x0, #8]
Lloh9:
	adrp	x8, _nvme_ns_head_make_request@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nvme_ns_head_make_request@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_blk_queue_make_request
Lloh12:
	adrp	x8, _QUEUE_FLAG_NONROT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QUEUE_FLAG_NONROT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_blk_queue_flag_set
	mov	x0, x21
	mov	w1, #512
	bl	_blk_queue_logical_block_size
	mov	x0, x21
	bl	_blk_set_stacking_limits
	ldr	w8, [x20]
Lloh15:
	adrp	x9, _NVME_CTRL_VWC_PRESENT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NVME_CTRL_VWC_PRESENT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w1, ne
	mov	x0, x21
	mov	x2, x1
	bl	_blk_queue_write_cache
	mov	w0, #0
	bl	_alloc_disk
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _nvme_ns_head_ops@GOTPAGE
Lloh19:
	ldr	x8, [x8, _nvme_ns_head_ops@GOTPAGEOFF]
	stp	x19, x8, [x0, #16]
	str	x21, [x0, #8]
Lloh20:
	adrp	x8, _GENHD_FL_EXT_DEVT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GENHD_FL_EXT_DEVT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	ldr	w0, [x0]
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #4]
	ldr	w3, [x19]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	mov	w0, #0
	b	LBB0_7
LBB0_5:
	mov	x0, x21
	bl	_blk_cleanup_queue
LBB0_6:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_requeue_work,4,2          ; @nvme_requeue_work
	.comm	_multipath,4,2                  ; @multipath
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_nvme_ns_head_make_request,4,2  ; @nvme_ns_head_make_request
	.comm	_QUEUE_FLAG_NONROT,4,2          ; @QUEUE_FLAG_NONROT
	.comm	_NVME_CTRL_VWC_PRESENT,4,2      ; @NVME_CTRL_VWC_PRESENT
	.comm	_nvme_ns_head_ops,4,2           ; @nvme_ns_head_ops
	.comm	_GENHD_FL_EXT_DEVT,4,2          ; @GENHD_FL_EXT_DEVT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nvme%dn%d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
