	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sector_size_store
_sector_size_store:                     ## @sector_size_store
	.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, %r14
	movq	%rdx, %r15
	movq	%rdi, %rbx
	callq	_to_nd_btt
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_nd_device_lock
	movq	%rbx, %rdi
	callq	_nvdimm_bus_lock
	movq	_btt_lbasize_supported@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_nd_size_select_store
	movq	%rax, %r12
	cmpb	$10, -1(%r14,%r15)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_nvdimm_bus_unlock
	movq	%rbx, %rdi
	callq	_nd_device_unlock
	testq	%r12, %r12
	cmoveq	%r14, %r12
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_btt_lbasize_supported,4,2      ## @btt_lbasize_supported
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"result: %zd wrote: %s%s"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"\n"

	.no_dead_strip	_sector_size_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sector_size_store
_sector_size_store:                     ; @sector_size_store
	.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, x3
	mov	x20, x2
	mov	x21, x0
	bl	_to_nd_btt
	mov	x22, x0
	mov	x0, x21
	bl	_nd_device_lock
	mov	x0, x21
	bl	_nvdimm_bus_lock
Lloh0:
	adrp	x8, _btt_lbasize_supported@GOTPAGE
Lloh1:
	ldr	x8, [x8, _btt_lbasize_supported@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_nd_size_select_store
	mov	x22, x0
	add	x8, x19, x20
	ldurb	w8, [x8, #-1]
Lloh3:
	adrp	x9, l_.str.2@PAGE
Lloh4:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #10
	csel	x4, x10, x9, eq
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	mov	x3, x20
	bl	_dev_dbg
	mov	x0, x21
	bl	_nvdimm_bus_unlock
	mov	x0, x21
	bl	_nd_device_unlock
	cmp	x22, #0
	csel	x0, x19, x22, eq
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_btt_lbasize_supported,4,2      ; @btt_lbasize_supported
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"result: %zd wrote: %s%s"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"\n"

	.no_dead_strip	_sector_size_store
.subsections_via_symbols
