	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_mpath_init                ## -- Begin function nvme_mpath_init
	.p2align	4, 0x90
_nvme_mpath_init:                       ## @nvme_mpath_init
	.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
	movq	_multipath@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	movq	56(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	testb	$8, (%rax)
	je	LBB0_10
## %bb.3:
	movq	%rsi, %rbx
	movl	12(%rsi), %eax
	movl	%eax, 52(%r15)
	movl	8(%rsi), %eax
	movl	%eax, 48(%r15)
	movl	4(%rsi), %edi
	callq	_le32_to_cpu
	movl	%eax, (%r15)
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 40(%r15)
	leaq	36(%r15), %rdi
	callq	_mutex_init
	leaq	32(%r15), %rdi
	movq	_nvme_anatt_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_timer_setup
	movl	(%r15), %eax
	movl	8(%r15), %ecx
	shll	$2, %ecx
	leal	(%rcx,%rax,4), %edx
	addl	$4, %edx
	movl	%edx, 4(%r15)
	movl	12(%r15), %eax
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	cmpl	%eax, %edx
	jle	LBB0_5
## %bb.4:
	movl	28(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	movl	28(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_10
LBB0_5:
	leaq	24(%r15), %rdi
	movq	_nvme_ana_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movl	4(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	callq	_nvme_read_ana_log
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	%eax, %r14d
	movq	16(%r15), %rdi
	callq	_kfree
	movq	$0, 16(%r15)
	jmp	LBB0_10
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_10
LBB0_8:
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_multipath,4,2                  ## @multipath
	.comm	_nvme_anatt_timeout,4,2         ## @nvme_anatt_timeout
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ANA log page size (%zd) larger than MDTS (%d).\n"

L_.str.1:                               ## @.str.1
	.asciz	"disabling ANA support.\n"

	.comm	_nvme_ana_work,4,2              ## @nvme_ana_work
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.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_init                ; -- Begin function nvme_mpath_init
	.p2align	2
_nvme_mpath_init:                       ; @nvme_mpath_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _multipath@GOTPAGE
Lloh1:
	ldr	x8, [x8, _multipath@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #56]
	cbz	x8, LBB0_3
; %bb.2:
	ldrb	w8, [x8]
	tbnz	w8, #3, LBB0_5
LBB0_3:
	mov	w20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	mov	x20, x1
	ldr	d0, [x1, #8]
	str	d0, [x19, #48]
	ldr	w0, [x1, #4]
	bl	_le32_to_cpu
	str	w0, [x19]
	ldr	w0, [x20]
	bl	_le32_to_cpu
	str	x0, [x19, #40]
	add	x0, x19, #36
	bl	_mutex_init
	add	x0, x19, #32
Lloh3:
	adrp	x8, _nvme_anatt_timeout@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvme_anatt_timeout@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	ldr	w8, [x19]
	lsl	w8, w8, #2
	ldp	w9, w10, [x19, #8]
	add	w8, w8, w9, lsl #2
	add	w8, w8, #4
	str	w8, [x19, #4]
Lloh6:
	adrp	x9, _SECTOR_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	cmp	w8, w9
	b.le	LBB0_7
; %bb.6:
	ldr	w0, [x19, #28]
	stp	x8, x9, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	w0, [x19, #28]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	mov	w20, #0
	b	LBB0_4
LBB0_7:
	add	x0, x19, #24
Lloh13:
	adrp	x8, _nvme_ana_work@GOTPAGE
Lloh14:
	ldr	x8, [x8, _nvme_ana_work@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_INIT_WORK
	ldr	w0, [x19, #4]
Lloh16:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_kmalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_nvme_read_ana_log
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.9:
	ldr	x0, [x19, #16]
	bl	_kfree
	str	xzr, [x19, #16]
	b	LBB0_4
LBB0_10:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_multipath,4,2                  ; @multipath
	.comm	_nvme_anatt_timeout,4,2         ; @nvme_anatt_timeout
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ANA log page size (%zd) larger than MDTS (%d).\n"

l_.str.1:                               ; @.str.1
	.asciz	"disabling ANA support.\n"

	.comm	_nvme_ana_work,4,2              ; @nvme_ana_work
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
