	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btt_blk_init
_btt_blk_init:                          ## @btt_blk_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	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	8(%rax), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_blk_alloc_queue
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_alloc_disk
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	40(%rax), %esi
	movq	%r15, %rdi
	callq	_nvdimm_namespace_disk_name
	movq	8(%rbx), %rax
	movq	$0, 32(%rax)
	movq	_btt_fops@GOTPCREL(%rip), %rcx
	movq	%rcx, 24(%rax)
	movq	%rbx, 16(%rax)
	movq	24(%rbx), %rdi
	movq	%rdi, (%rax)
	movq	_GENHD_FL_EXT_DEVT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_BDI_CAP_SYNCHRONOUS_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdi), %rcx
	orl	%eax, (%rcx)
	movq	_btt_make_request@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_blk_queue_make_request
	movq	24(%rbx), %rdi
	movl	(%rbx), %esi
	callq	_blk_queue_logical_block_size
	movq	24(%rbx), %rdi
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_blk_queue_max_hw_sectors
	movq	_QUEUE_FLAG_NONROT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%rbx), %rsi
	callq	_blk_queue_flag_set
	movq	24(%rbx), %rax
	movq	%rbx, (%rax)
	movq	%rbx, %rdi
	callq	_btt_meta_size
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	8(%rbx), %r14
	movq	%rbx, %rdi
	callq	_btt_meta_size
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_nd_integrity_init
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	movq	8(%rbx), %rdi
	callq	_del_gendisk
	movq	8(%rbx), %rdi
	callq	_put_disk
	movq	24(%rbx), %rdi
	callq	_blk_cleanup_queue
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_8
LBB0_3:
	movq	24(%rbx), %rdi
	callq	_blk_cleanup_queue
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_8
LBB0_7:
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	imull	4(%rbx), %esi
	sarl	$9, %esi
	callq	_set_capacity
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	addq	$4, %rdi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_device_add_disk
	movl	(%rbx), %eax
	imull	4(%rbx), %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	8(%rbx), %rdi
	callq	_revalidate_disk
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_btt_fops,4,2                   ## @btt_fops
	.comm	_GENHD_FL_EXT_DEVT,4,2          ## @GENHD_FL_EXT_DEVT
	.comm	_BDI_CAP_SYNCHRONOUS_IO,4,2     ## @BDI_CAP_SYNCHRONOUS_IO
	.comm	_btt_make_request,4,2           ## @btt_make_request
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.comm	_QUEUE_FLAG_NONROT,4,2          ## @QUEUE_FLAG_NONROT
	.no_dead_strip	_btt_blk_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btt_blk_init
_btt_blk_init:                          ; @btt_blk_init
	.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
	ldr	x8, [x0, #16]
	ldr	x20, [x8, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_blk_alloc_queue
	str	x0, [x19, #24]
	cbz	x0, LBB0_6
; %bb.1:
	mov	w0, #0
	bl	_alloc_disk
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w1, [x0, #40]
	mov	x0, x20
	bl	_nvdimm_namespace_disk_name
	ldr	x8, [x19, #8]
	str	xzr, [x8, #32]
Lloh3:
	adrp	x9, _btt_fops@GOTPAGE
Lloh4:
	ldr	x9, [x9, _btt_fops@GOTPAGEOFF]
	stp	x19, x9, [x8, #16]
	ldr	x0, [x19, #24]
	str	x0, [x8]
Lloh5:
	adrp	x9, _GENHD_FL_EXT_DEVT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GENHD_FL_EXT_DEVT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x8, #8]
Lloh8:
	adrp	x8, _BDI_CAP_SYNCHRONOUS_IO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BDI_CAP_SYNCHRONOUS_IO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x9, [x0, #8]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
Lloh11:
	adrp	x8, _btt_make_request@GOTPAGE
Lloh12:
	ldr	x8, [x8, _btt_make_request@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_blk_queue_make_request
	ldr	x0, [x19, #24]
	ldr	w1, [x19]
	bl	_blk_queue_logical_block_size
	ldr	x0, [x19, #24]
Lloh14:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_blk_queue_max_hw_sectors
Lloh17:
	adrp	x8, _QUEUE_FLAG_NONROT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QUEUE_FLAG_NONROT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	x1, [x19, #24]
	bl	_blk_queue_flag_set
	ldr	x8, [x19, #24]
	str	x19, [x8]
	mov	x0, x19
	bl	_btt_meta_size
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x20, [x19, #8]
	mov	x0, x19
	bl	_btt_meta_size
	mov	x1, x0
	mov	x0, x20
	bl	_nd_integrity_init
	cbz	w0, LBB0_7
; %bb.4:
	mov	x20, x0
	ldr	x0, [x19, #8]
	bl	_del_gendisk
	ldr	x0, [x19, #8]
	bl	_put_disk
	ldr	x0, [x19, #24]
	bl	_blk_cleanup_queue
	b	LBB0_8
LBB0_5:
	ldr	x0, [x19, #24]
	bl	_blk_cleanup_queue
LBB0_6:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_7:
	ldr	x0, [x19, #8]
	ldp	w9, w8, [x19]
	mul	w8, w9, w8
	asr	w1, w8, #9
	bl	_set_capacity
	ldp	x1, x8, [x19, #8]
	add	x0, x8, #4
	mov	x2, #0
	bl	_device_add_disk
	ldp	w9, w8, [x19]
	mul	w8, w9, w8
	ldp	x0, x9, [x19, #8]
	str	w8, [x9]
	bl	_revalidate_disk
	mov	w20, #0
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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_btt_fops,4,2                   ; @btt_fops
	.comm	_GENHD_FL_EXT_DEVT,4,2          ; @GENHD_FL_EXT_DEVT
	.comm	_BDI_CAP_SYNCHRONOUS_IO,4,2     ; @BDI_CAP_SYNCHRONOUS_IO
	.comm	_btt_make_request,4,2           ; @btt_make_request
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.comm	_QUEUE_FLAG_NONROT,4,2          ; @QUEUE_FLAG_NONROT
	.no_dead_strip	_btt_blk_init
.subsections_via_symbols
