	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtip_block_initialize
_mtip_block_initialize:                 ## @mtip_block_initialize
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -68(%rbp)
	xorl	%r14d, %r14d
	cmpq	$0, 16(%rdi)
	je	LBB0_1
LBB0_13:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_blk_alloc_queue
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	_mtip_make_request@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_blk_queue_make_request
	movq	16(%r15), %rax
	movq	24(%r15), %rsi
	movq	%rsi, 8(%rax)
	movq	%r15, 24(%rsi)
	movq	_QUEUE_FLAG_NONROT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsi
	callq	_set_bit
	movq	24(%r15), %rdi
	movq	_MTIP_MAX_SG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_blk_queue_max_segments
	movq	24(%r15), %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_blk_queue_physical_block_size
	movq	24(%r15), %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_blk_queue_max_hw_sectors
	movq	24(%r15), %rdi
	movl	$4194304, %esi                  ## imm = 0x400000
	callq	_blk_queue_max_segment_size
	movq	24(%r15), %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_blk_queue_io_min
	movq	24(%r15), %rdi
	xorl	%esi, %esi
	callq	_blk_queue_flush
	cmpl	$1, 8(%r15)
	jne	LBB0_17
## %bb.16:
	movq	_QUEUE_FLAG_DISCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%r15), %rsi
	addq	$16, %rsi
	callq	_set_bit
	movq	24(%r15), %rdi
	movl	$4096, (%rdi)                   ## imm = 0x1000
	movq	_MTIP_MAX_TRIM_ENTRY_LEN@GOTPCREL(%rip), %rax
	movq	_MTIP_MAX_TRIM_ENTRIES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	imull	(%rax), %esi
	callq	_blk_queue_max_discard_sectors
	movq	24(%r15), %rax
	movq	$0, 8(%rax)
LBB0_17:
	leaq	-76(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mtip_hw_get_capacity
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:
	movq	16(%r15), %rdi
	movl	-76(%rbp), %esi
	callq	_set_capacity
	movq	16(%r15), %rdi
	callq	_add_disk
	movq	16(%r15), %rdi
	callq	_disk_to_dev
	movq	%rax, %rdi
	callq	_kobject_get
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_mtip_hw_sysfs_init
	movq	%rbx, %rdi
	callq	_kobject_put
LBB0_21:
	movq	%r15, %rdi
	callq	_mtip_hw_debugfs_init
	cmpq	$0, 32(%r15)
	je	LBB0_22
## %bb.31:
	movq	_MTIP_DDF_INIT_DONE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$48, %r15
	movq	%r15, %rsi
	callq	_set_bit
	xorl	%ebx, %ebx
	jmp	LBB0_29
LBB0_1:
	movq	%r15, %rdi
	callq	_mtip_hw_init
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movq	_MTIP_MAX_MINORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alloc_disk
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_rssd_index_ida@GOTPCREL(%rip), %rdi
	callq	_ida_pre_get
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movq	_rssd_index_lock@GOTPCREL(%rip), %r12
	movq	_rssd_index_ida@GOTPCREL(%rip), %r13
	movq	_EAGAIN@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_spin_lock
	movq	%r13, %rdi
	leaq	-68(%rbp), %rsi
	callq	_ida_get_new
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_spin_unlock
	movl	(%r14), %eax
	addl	%ebx, %eax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ida_pre_get
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_27
LBB0_14:
	movq	40(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_26
LBB0_18:
	movq	40(%r15), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_warn
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_25
LBB0_2:
	movq	40(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_29
LBB0_22:
	movl	-68(%rbp), %edx
LBB0_23:
	leaq	L_.str.5(%rip), %rsi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sprintf
	movq	_mtip_service_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_kthread_run
	movq	%rax, 32(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_32
## %bb.24:
	movq	40(%r15), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_dev_err
	movq	$0, 32(%r15)
	movq	_EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_mtip_hw_debugfs_exit
	movq	16(%r15), %rdi
	callq	_del_gendisk
LBB0_25:
	negl	%ebx
	movq	24(%r15), %rdi
	callq	_blk_cleanup_queue
LBB0_26:
	movq	_rssd_index_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movl	-68(%rbp), %esi
	movq	_rssd_index_ida@GOTPCREL(%rip), %rdi
	callq	_ida_remove
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_27:
	movq	16(%r15), %rdi
	callq	_put_disk
LBB0_28:
	movq	%r15, %rdi
	callq	_mtip_hw_exit
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.30:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	40(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_28
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_10:
	testl	%ebx, %ebx
	jne	LBB0_27
## %bb.11:
	movl	-68(%rbp), %esi
	movq	16(%r15), %rax
	movl	48(%rax), %edx
	movq	_DISK_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rdi
	callq	_rssd_disk_name_format
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_26
## %bb.12:
	movq	16(%r15), %rax
	movq	40(%r15), %rcx
	movq	%rcx, 40(%rax)
	movl	52(%r15), %ecx
	movl	%ecx, 32(%rax)
	movq	_MTIP_MAX_MINORS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	(%r15), %ecx
	movl	%ecx, (%rax)
	movq	_mtip_block_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 24(%rax)
	movq	%r15, 16(%rax)
	movl	-68(%rbp), %edx
	movl	%edx, 4(%r15)
	movq	_MTIP_FTL_REBUILD_MAGIC@GOTPCREL(%rip), %rax
	movl	-72(%rbp), %r14d                ## 4-byte Reload
	cmpl	(%rax), %r14d
	jne	LBB0_13
	jmp	LBB0_23
LBB0_32:
	movq	_MTIP_FTL_REBUILD_MAGIC@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	(%rax), %r14d
	cmovel	%r14d, %ebx
	jmp	LBB0_29
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Protocol layer initialization failed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MTIP_MAX_MINORS,4,2            ## @MTIP_MAX_MINORS
L_.str.1:                               ## @.str.1
	.asciz	"Unable to allocate gendisk structure\n"

	.comm	_rssd_index_ida,4,2             ## @rssd_index_ida
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_rssd_index_lock,4,2            ## @rssd_index_lock
	.comm	_EAGAIN,4,2                     ## @EAGAIN
L_.str.2:                               ## @.str.2
	.asciz	"rssd"

	.comm	_DISK_NAME_LEN,4,2              ## @DISK_NAME_LEN
	.comm	_mtip_block_ops,4,2             ## @mtip_block_ops
	.comm	_MTIP_FTL_REBUILD_MAGIC,4,2     ## @MTIP_FTL_REBUILD_MAGIC
L_.str.3:                               ## @.str.3
	.asciz	"Unable to allocate request queue\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mtip_make_request,4,2          ## @mtip_make_request
	.comm	_QUEUE_FLAG_NONROT,4,2          ## @QUEUE_FLAG_NONROT
	.comm	_MTIP_MAX_SG,4,2                ## @MTIP_MAX_SG
	.comm	_QUEUE_FLAG_DISCARD,4,2         ## @QUEUE_FLAG_DISCARD
	.comm	_MTIP_MAX_TRIM_ENTRY_LEN,4,2    ## @MTIP_MAX_TRIM_ENTRY_LEN
	.comm	_MTIP_MAX_TRIM_ENTRIES,4,2      ## @MTIP_MAX_TRIM_ENTRIES
L_.str.4:                               ## @.str.4
	.asciz	"Could not read drive capacity\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_MTIP_DDF_INIT_DONE_BIT,4,2     ## @MTIP_DDF_INIT_DONE_BIT
L_.str.5:                               ## @.str.5
	.asciz	"mtip_svc_thd_%02d"

	.comm	_mtip_service_thread,4,2        ## @mtip_service_thread
L_.str.6:                               ## @.str.6
	.asciz	"service thread failed to start\n"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_mtip_block_initialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtip_block_initialize
_mtip_block_initialize:                 ; @mtip_block_initialize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	w20, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	str	wzr, [sp]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_9
LBB0_1:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_blk_alloc_queue
	str	x0, [x19, #24]
	cbz	x0, LBB0_15
; %bb.2:
Lloh6:
	adrp	x8, _mtip_make_request@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mtip_make_request@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_blk_queue_make_request
	ldp	x9, x8, [x19, #16]
	str	x8, [x9, #8]
	str	x19, [x8, #24]
Lloh9:
	adrp	x9, _QUEUE_FLAG_NONROT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QUEUE_FLAG_NONROT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
	add	x1, x8, #16
	bl	_set_bit
	ldr	x0, [x19, #24]
Lloh12:
	adrp	x8, _MTIP_MAX_SG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MTIP_MAX_SG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_blk_queue_max_segments
	ldr	x0, [x19, #24]
	mov	w21, #4096
	mov	w1, #4096
	bl	_blk_queue_physical_block_size
	ldr	x0, [x19, #24]
	mov	w1, #65535
	bl	_blk_queue_max_hw_sectors
	ldr	x0, [x19, #24]
	mov	w1, #4194304
	bl	_blk_queue_max_segment_size
	ldr	x0, [x19, #24]
	mov	w1, #4096
	bl	_blk_queue_io_min
	ldr	x0, [x19, #24]
	mov	w1, #0
	bl	_blk_queue_flush
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _QUEUE_FLAG_DISCARD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QUEUE_FLAG_DISCARD@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	x8, [x19, #24]
	add	x1, x8, #16
	bl	_set_bit
	ldr	x0, [x19, #24]
Lloh18:
	adrp	x8, _MTIP_MAX_TRIM_ENTRY_LEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MTIP_MAX_TRIM_ENTRY_LEN@GOTPAGEOFF]
	str	w21, [x0]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _MTIP_MAX_TRIM_ENTRIES@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MTIP_MAX_TRIM_ENTRIES@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	mul	w1, w9, w8
	bl	_blk_queue_max_discard_sectors
	ldr	x8, [x19, #24]
	str	xzr, [x8, #8]
LBB0_4:
	add	x1, sp, #4
	mov	x0, x19
	bl	_mtip_hw_get_capacity
	cbz	w0, LBB0_16
; %bb.5:
	ldr	x0, [x19, #16]
	ldr	w1, [sp, #4]
	bl	_set_capacity
	ldr	x0, [x19, #16]
	bl	_add_disk
	ldr	x0, [x19, #16]
	bl	_disk_to_dev
	bl	_kobject_get
	cbz	x0, LBB0_7
; %bb.6:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mtip_hw_sysfs_init
	mov	x0, x21
	bl	_kobject_put
LBB0_7:
	mov	x0, x19
	bl	_mtip_hw_debugfs_init
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_18
; %bb.8:
Lloh24:
	adrp	x8, _MTIP_DDF_INIT_DONE_BIT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MTIP_DDF_INIT_DONE_BIT@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	add	x1, x19, #48
	bl	_set_bit
	mov	w21, #0
	b	LBB0_25
LBB0_9:
	mov	x0, x19
	bl	_mtip_hw_init
	tbnz	w0, #31, LBB0_17
; %bb.10:
	mov	x20, x0
Lloh27:
	adrp	x24, _MTIP_MAX_MINORS@GOTPAGE
Lloh28:
	ldr	x24, [x24, _MTIP_MAX_MINORS@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_alloc_disk
	str	x0, [x19, #16]
	cbz	x0, LBB0_27
; %bb.11:
Lloh29:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh30:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh31:
	adrp	x0, _rssd_index_ida@GOTPAGE
Lloh32:
	ldr	x0, [x0, _rssd_index_ida@GOTPAGEOFF]
	bl	_ida_pre_get
	cbz	w0, LBB0_28
; %bb.12:
Lloh33:
	adrp	x22, _rssd_index_lock@GOTPAGE
Lloh34:
	ldr	x22, [x22, _rssd_index_lock@GOTPAGEOFF]
Lloh35:
	adrp	x23, _rssd_index_ida@GOTPAGE
Lloh36:
	ldr	x23, [x23, _rssd_index_ida@GOTPAGEOFF]
Lloh37:
	adrp	x26, _EAGAIN@GOTPAGE
Lloh38:
	ldr	x26, [x26, _EAGAIN@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_spin_lock
	mov	x1, sp
	mov	x0, x23
	bl	_ida_get_new
	mov	x21, x0
	mov	x0, x22
	bl	_spin_unlock
	ldr	w8, [x26]
	cmn	w21, w8
	b.ne	LBB0_29
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w1, [x25]
	mov	x0, x23
	bl	_ida_pre_get
	cbnz	w0, LBB0_13
	b	LBB0_23
LBB0_15:
	ldr	x0, [x19, #40]
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
Lloh41:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_22
LBB0_16:
	ldr	x0, [x19, #40]
Lloh44:
	adrp	x1, l_.str.4@PAGE
Lloh45:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_warn
Lloh46:
	adrp	x8, _EIO@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh48:
	ldr	w20, [x8]
	b	LBB0_21
LBB0_17:
	ldr	x0, [x19, #40]
Lloh49:
	adrp	x1, l_.str@PAGE
Lloh50:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh51:
	adrp	x8, _EINVAL@GOTPAGE
Lloh52:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_25
LBB0_18:
	ldr	w2, [sp]
LBB0_19:
Lloh54:
	adrp	x1, l_.str.5@PAGE
Lloh55:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #8
	bl	_sprintf
Lloh56:
	adrp	x8, _mtip_service_thread@GOTPAGE
Lloh57:
	ldr	x8, [x8, _mtip_service_thread@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	x1, x19
	bl	_kthread_run
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_32
; %bb.20:
	ldr	x0, [x19, #40]
Lloh59:
	adrp	x1, l_.str.6@PAGE
Lloh60:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_err
	str	xzr, [x19, #32]
Lloh61:
	adrp	x8, _EFAULT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh63:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_mtip_hw_debugfs_exit
	ldr	x0, [x19, #16]
	bl	_del_gendisk
LBB0_21:
	neg	w21, w20
	ldr	x0, [x19, #24]
	bl	_blk_cleanup_queue
LBB0_22:
Lloh64:
	adrp	x20, _rssd_index_lock@GOTPAGE
Lloh65:
	ldr	x20, [x20, _rssd_index_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock
	ldr	w1, [sp]
Lloh66:
	adrp	x0, _rssd_index_ida@GOTPAGE
Lloh67:
	ldr	x0, [x0, _rssd_index_ida@GOTPAGEOFF]
	bl	_ida_remove
	mov	x0, x20
	bl	_spin_unlock
LBB0_23:
	ldr	x0, [x19, #16]
	bl	_put_disk
LBB0_24:
	mov	x0, x19
	bl	_mtip_hw_exit
LBB0_25:
	ldr	x8, [sp, #24]
Lloh68:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh69:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.26:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_27:
	ldr	x0, [x19, #40]
Lloh71:
	adrp	x1, l_.str.1@PAGE
Lloh72:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh73:
	adrp	x8, _EINVAL@GOTPAGE
Lloh74:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_24
LBB0_28:
	mov	w21, #0
	b	LBB0_23
LBB0_29:
	cbnz	w21, LBB0_23
; %bb.30:
	ldr	w1, [sp]
	ldr	x8, [x19, #16]
	ldr	w2, [x8, #48]
Lloh76:
	adrp	x8, _DISK_NAME_LEN@GOTPAGE
Lloh77:
	ldr	x8, [x8, _DISK_NAME_LEN@GOTPAGEOFF]
Lloh78:
	ldr	w3, [x8]
Lloh79:
	adrp	x0, l_.str.2@PAGE
Lloh80:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_rssd_disk_name_format
	mov	x21, x0
	cbnz	w0, LBB0_22
; %bb.31:
	ldr	x8, [x19, #40]
	ldr	x9, [x19, #16]
	str	x8, [x9, #40]
	ldr	w8, [x19, #52]
	str	w8, [x9, #32]
	ldr	w8, [x19]
	ldr	w10, [x24]
	mul	w8, w10, w8
	str	w8, [x9]
Lloh81:
	adrp	x8, _mtip_block_ops@GOTPAGE
Lloh82:
	ldr	x8, [x8, _mtip_block_ops@GOTPAGEOFF]
	stp	x19, x8, [x9, #16]
	ldr	w2, [sp]
	str	w2, [x19, #4]
Lloh83:
	adrp	x8, _MTIP_FTL_REBUILD_MAGIC@GOTPAGE
Lloh84:
	ldr	x8, [x8, _MTIP_FTL_REBUILD_MAGIC@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_1
	b	LBB0_19
LBB0_32:
Lloh86:
	adrp	x8, _MTIP_FTL_REBUILD_MAGIC@GOTPAGE
Lloh87:
	ldr	x8, [x8, _MTIP_FTL_REBUILD_MAGIC@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
	cmp	w20, w8
	csel	w21, w20, wzr, eq
	b	LBB0_25
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Protocol layer initialization failed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MTIP_MAX_MINORS,4,2            ; @MTIP_MAX_MINORS
l_.str.1:                               ; @.str.1
	.asciz	"Unable to allocate gendisk structure\n"

	.comm	_rssd_index_ida,4,2             ; @rssd_index_ida
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_rssd_index_lock,4,2            ; @rssd_index_lock
	.comm	_EAGAIN,4,2                     ; @EAGAIN
l_.str.2:                               ; @.str.2
	.asciz	"rssd"

	.comm	_DISK_NAME_LEN,4,2              ; @DISK_NAME_LEN
	.comm	_mtip_block_ops,4,2             ; @mtip_block_ops
	.comm	_MTIP_FTL_REBUILD_MAGIC,4,2     ; @MTIP_FTL_REBUILD_MAGIC
l_.str.3:                               ; @.str.3
	.asciz	"Unable to allocate request queue\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mtip_make_request,4,2          ; @mtip_make_request
	.comm	_QUEUE_FLAG_NONROT,4,2          ; @QUEUE_FLAG_NONROT
	.comm	_MTIP_MAX_SG,4,2                ; @MTIP_MAX_SG
	.comm	_QUEUE_FLAG_DISCARD,4,2         ; @QUEUE_FLAG_DISCARD
	.comm	_MTIP_MAX_TRIM_ENTRY_LEN,4,2    ; @MTIP_MAX_TRIM_ENTRY_LEN
	.comm	_MTIP_MAX_TRIM_ENTRIES,4,2      ; @MTIP_MAX_TRIM_ENTRIES
l_.str.4:                               ; @.str.4
	.asciz	"Could not read drive capacity\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_MTIP_DDF_INIT_DONE_BIT,4,2     ; @MTIP_DDF_INIT_DONE_BIT
l_.str.5:                               ; @.str.5
	.asciz	"mtip_svc_thd_%02d"

	.comm	_mtip_service_thread,4,2        ; @mtip_service_thread
l_.str.6:                               ; @.str.6
	.asciz	"service thread failed to start\n"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_mtip_block_initialize
.subsections_via_symbols
