	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_init_ctrl                 ## -- Begin function nvme_init_ctrl
	.p2align	4, 0x90
_nvme_init_ctrl:                        ## @nvme_init_ctrl
	.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	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_NVME_CTRL_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 136(%rdi)
	addq	$132, %rdi
	callq	_spin_lock_init
	leaq	128(%rbx), %rdi
	callq	_mutex_init
	leaq	124(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	120(%rbx), %rdi
	callq	_init_rwsem
	movq	%r12, 40(%rbx)
	movq	%r14, 112(%rbx)
	movq	%r15, (%rbx)
	leaq	104(%rbx), %rdi
	movq	_nvme_scan_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	100(%rbx), %rdi
	movq	_nvme_async_event_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	96(%rbx), %rdi
	movq	_nvme_fw_act_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	92(%rbx), %rdi
	movq	_nvme_delete_ctrl_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	88(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	84(%rbx), %rdi
	movq	_nvme_keep_alive_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	80(%rbx), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_nvme_admin_keep_alive@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	_NVME_DSM_MAX_RANGES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	seta	%dil
	callq	_BUILD_BUG_ON
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_alloc_page
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r12), %ecx
	movq	_nvme_instance_ida@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ida_simple_get
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movl	%r15d, 8(%rbx)
	leaq	48(%rbx), %r15
	movq	%r15, %rdi
	callq	_device_initialize
	movq	%r15, 24(%rbx)
	movq	_nvme_chr_devt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAJOR
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	_MKDEV
	movq	24(%rbx), %rdi
	movl	%eax, 28(%rdi)
	movq	_nvme_class@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	40(%rbx), %rax
	movq	%rax, 16(%rdi)
	movq	_nvme_dev_attr_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	_nvme_free_ctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	%rbx, %rsi
	callq	_dev_set_drvdata
	movq	24(%rbx), %rdi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_set_name
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	leaq	36(%rbx), %r15
	movq	_nvme_dev_fops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_cdev_init
	movl	(%r14), %eax
	movl	%eax, 36(%rbx)
	movq	24(%rbx), %rsi
	movq	%r15, %rdi
	callq	_cdev_device_add
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %r15d
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	callq	_kfree_const
LBB0_7:
	movl	8(%rbx), %esi
	movq	_nvme_instance_ida@GOTPCREL(%rip), %rdi
	callq	_ida_simple_remove
LBB0_8:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	___free_page
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_nvme_set_latency_tolerance@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%rbx), %r14
	movl	%eax, 4(%r14)
	movq	_default_ps_max_latency_us@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_S32_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_min
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dev_pm_qos_update_user_latency_tolerance
	movq	24(%rbx), %rdi
	addq	$32, %rbx
	callq	_dev_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_nvme_fault_inject_init
	xorl	%r15d, %r15d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_CTRL_NEW,4,2              ## @NVME_CTRL_NEW
	.comm	_nvme_scan_work,4,2             ## @nvme_scan_work
	.comm	_nvme_async_event_work,4,2      ## @nvme_async_event_work
	.comm	_nvme_fw_act_work,4,2           ## @nvme_fw_act_work
	.comm	_nvme_delete_ctrl_work,4,2      ## @nvme_delete_ctrl_work
	.comm	_nvme_keep_alive_work,4,2       ## @nvme_keep_alive_work
	.comm	_nvme_admin_keep_alive,4,2      ## @nvme_admin_keep_alive
	.comm	_NVME_DSM_MAX_RANGES,4,2        ## @NVME_DSM_MAX_RANGES
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nvme_instance_ida,4,2          ## @nvme_instance_ida
	.comm	_nvme_chr_devt,4,2              ## @nvme_chr_devt
	.comm	_nvme_class,4,2                 ## @nvme_class
	.comm	_nvme_dev_attr_groups,4,2       ## @nvme_dev_attr_groups
	.comm	_nvme_free_ctrl,4,2             ## @nvme_free_ctrl
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nvme%d"

	.comm	_nvme_dev_fops,4,2              ## @nvme_dev_fops
	.comm	_nvme_set_latency_tolerance,4,2 ## @nvme_set_latency_tolerance
	.comm	_default_ps_max_latency_us,4,2  ## @default_ps_max_latency_us
	.comm	_S32_MAX,8,3                    ## @S32_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvme_init_ctrl                 ; -- Begin function nvme_init_ctrl
	.p2align	2
_nvme_init_ctrl:                        ; @nvme_init_ctrl
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _NVME_CTRL_NEW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_CTRL_NEW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #136]
	add	x0, x0, #132
	bl	_spin_lock_init
	add	x0, x19, #128
	bl	_mutex_init
	add	x0, x19, #124
	bl	_INIT_LIST_HEAD
	add	x0, x19, #120
	bl	_init_rwsem
	str	x22, [x19, #40]
	str	x20, [x19, #112]
	str	x21, [x19]
	add	x0, x19, #104
Lloh3:
	adrp	x8, _nvme_scan_work@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvme_scan_work@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #100
Lloh6:
	adrp	x8, _nvme_async_event_work@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nvme_async_event_work@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #96
Lloh9:
	adrp	x8, _nvme_fw_act_work@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nvme_fw_act_work@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #92
Lloh12:
	adrp	x8, _nvme_delete_ctrl_work@GOTPAGE
Lloh13:
	ldr	x8, [x8, _nvme_delete_ctrl_work@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #88
	bl	_init_waitqueue_head
	add	x0, x19, #84
Lloh15:
	adrp	x8, _nvme_keep_alive_work@GOTPAGE
Lloh16:
	ldr	x8, [x8, _nvme_keep_alive_work@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #80
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh18:
	adrp	x8, _nvme_admin_keep_alive@GOTPAGE
Lloh19:
	ldr	x8, [x8, _nvme_admin_keep_alive@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #80]
Lloh21:
	adrp	x8, _NVME_DSM_MAX_RANGES@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NVME_DSM_MAX_RANGES@GOTPAGEOFF]
Lloh23:
	ldrsw	x8, [x8]
Lloh24:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh26:
	ldrsw	x9, [x9]
	cmp	x9, x8, lsl #2
	cset	w0, lo
	bl	_BUILD_BUG_ON
Lloh27:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh28:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_alloc_page
	str	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w3, [x21]
Lloh29:
	adrp	x0, _nvme_instance_ida@GOTPAGE
Lloh30:
	ldr	x0, [x0, _nvme_instance_ida@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #0
	bl	_ida_simple_get
	mov	x21, x0
	tbnz	w0, #31, LBB0_6
; %bb.2:
	str	w21, [x19, #8]
	add	x21, x19, #48
	mov	x0, x21
	bl	_device_initialize
	str	x21, [x19, #24]
Lloh31:
	adrp	x8, _nvme_chr_devt@GOTPAGE
Lloh32:
	ldr	x8, [x8, _nvme_chr_devt@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_MAJOR
	ldr	w1, [x19, #8]
	bl	_MKDEV
	ldr	x8, [x19, #24]
Lloh34:
	adrp	x9, _nvme_class@GOTPAGE
Lloh35:
	ldr	x9, [x9, _nvme_class@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w9, w0, [x8, #24]
	ldr	x9, [x19, #40]
	str	x9, [x8, #16]
Lloh37:
	adrp	x9, _nvme_dev_attr_groups@GOTPAGE
Lloh38:
	ldr	x9, [x9, _nvme_dev_attr_groups@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
Lloh40:
	adrp	x10, _nvme_free_ctrl@GOTPAGE
Lloh41:
	ldr	x10, [x10, _nvme_free_ctrl@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #8]
	mov	x0, x8
	mov	x1, x19
	bl	_dev_set_drvdata
	ldr	x0, [x19, #24]
	ldr	w2, [x19, #8]
Lloh43:
	adrp	x1, l_.str@PAGE
Lloh44:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_set_name
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.3:
	add	x21, x19, #36
Lloh45:
	adrp	x1, _nvme_dev_fops@GOTPAGE
Lloh46:
	ldr	x1, [x1, _nvme_dev_fops@GOTPAGEOFF]
	mov	x0, x21
	bl	_cdev_init
	ldr	w8, [x20]
	str	w8, [x19, #36]
	ldr	x1, [x19, #24]
	mov	x0, x21
	bl	_cdev_device_add
	mov	x21, x0
	cbz	w0, LBB0_10
; %bb.4:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	bl	_kfree_const
LBB0_5:
	ldr	w1, [x19, #8]
Lloh47:
	adrp	x0, _nvme_instance_ida@GOTPAGE
Lloh48:
	ldr	x0, [x0, _nvme_instance_ida@GOTPAGEOFF]
	bl	_ida_simple_remove
LBB0_6:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_9
; %bb.7:
	bl	___free_page
	b	LBB0_9
LBB0_8:
Lloh49:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_9:
	mov	x0, x21
	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
LBB0_10:
Lloh52:
	adrp	x8, _nvme_set_latency_tolerance@GOTPAGE
Lloh53:
	ldr	x8, [x8, _nvme_set_latency_tolerance@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	ldr	x20, [x19, #24]
	str	w8, [x20, #4]
Lloh55:
	adrp	x8, _default_ps_max_latency_us@GOTPAGE
Lloh56:
	ldr	x8, [x8, _default_ps_max_latency_us@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
Lloh58:
	adrp	x8, _S32_MAX@GOTPAGE
Lloh59:
	ldr	x8, [x8, _S32_MAX@GOTPAGEOFF]
Lloh60:
	ldr	x1, [x8]
	bl	_min
	mov	x1, x0
	mov	x0, x20
	bl	_dev_pm_qos_update_user_latency_tolerance
	add	x20, x19, #32
	ldr	x0, [x19, #24]
	bl	_dev_name
	mov	x1, x0
	mov	x0, x20
	bl	_nvme_fault_inject_init
	b	LBB0_9
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_CTRL_NEW,4,2              ; @NVME_CTRL_NEW
	.comm	_nvme_scan_work,4,2             ; @nvme_scan_work
	.comm	_nvme_async_event_work,4,2      ; @nvme_async_event_work
	.comm	_nvme_fw_act_work,4,2           ; @nvme_fw_act_work
	.comm	_nvme_delete_ctrl_work,4,2      ; @nvme_delete_ctrl_work
	.comm	_nvme_keep_alive_work,4,2       ; @nvme_keep_alive_work
	.comm	_nvme_admin_keep_alive,4,2      ; @nvme_admin_keep_alive
	.comm	_NVME_DSM_MAX_RANGES,4,2        ; @NVME_DSM_MAX_RANGES
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nvme_instance_ida,4,2          ; @nvme_instance_ida
	.comm	_nvme_chr_devt,4,2              ; @nvme_chr_devt
	.comm	_nvme_class,4,2                 ; @nvme_class
	.comm	_nvme_dev_attr_groups,4,2       ; @nvme_dev_attr_groups
	.comm	_nvme_free_ctrl,4,2             ; @nvme_free_ctrl
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nvme%d"

	.comm	_nvme_dev_fops,4,2              ; @nvme_dev_fops
	.comm	_nvme_set_latency_tolerance,4,2 ; @nvme_set_latency_tolerance
	.comm	_default_ps_max_latency_us,4,2  ; @default_ps_max_latency_us
	.comm	_S32_MAX,8,3                    ; @S32_MAX
.subsections_via_symbols
