	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_to_nd_region
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_is_namespace_blk
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_to_nd_namespace_blk
	movq	%rax, %r13
	movq	_blk_lbasize_supported@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_is_namespace_pmem
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_to_nd_namespace_pmem
	movq	%rax, %r13
	movq	_pmem_lbasize_supported@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_nd_device_lock
	movq	%rbx, %rdi
	callq	_nvdimm_bus_lock
	movq	%rbx, %rdi
	callq	_to_ndns
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_7
## %bb.6:
	negl	%edx
	jmp	LBB0_10
LBB0_7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_nd_size_select_store
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_nd_namespace_label_update
LBB0_9:
	movl	%eax, %edx
LBB0_10:
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmpb	$10, -1(%r14,%r15)
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %r9
	cmoveq	%rsi, %r9
	testl	%edx, %edx
	cmovsq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	cmovnel	%edx, %r14d
	movq	%rbx, %rdi
	movq	%r15, %r8
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_nvdimm_bus_unlock
	movq	%rbx, %rdi
	callq	_nd_device_unlock
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_blk_lbasize_supported,8,3      ## @blk_lbasize_supported
	.comm	_pmem_lbasize_supported,8,3     ## @pmem_lbasize_supported
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EBUSY,4,2                      ## @EBUSY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"result: %zd %s: %s%s"

L_.str.1:                               ## @.str.1
	.asciz	"tried"

L_.str.2:                               ## @.str.2
	.asciz	"wrote"

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

L_.str.4:                               ## @.str.4
	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x19, x0
	ldr	w0, [x0]
	bl	_to_nd_region
	mov	x22, x0
	mov	x0, x19
	bl	_is_namespace_blk
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_to_nd_namespace_blk
	mov	x23, x0
Lloh0:
	adrp	x8, _blk_lbasize_supported@GOTPAGE
Lloh1:
	ldr	x8, [x8, _blk_lbasize_supported@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_is_namespace_pmem
	cbz	x0, LBB0_12
; %bb.3:
	mov	x0, x19
	bl	_to_nd_namespace_pmem
	mov	x23, x0
Lloh2:
	adrp	x8, _pmem_lbasize_supported@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pmem_lbasize_supported@GOTPAGEOFF]
LBB0_4:
	ldr	x24, [x8]
	mov	x0, x19
	bl	_nd_device_lock
	mov	x0, x19
	bl	_nvdimm_bus_lock
	mov	x0, x19
	bl	_to_ndns
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.5:
Lloh4:
	adrp	x8, _EBUSY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, #0
	b.le	LBB0_7
; %bb.6:
	neg	w2, w8
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
	bl	_nd_size_select_store
	tbnz	w0, #31, LBB0_9
; %bb.8:
	mov	x0, x22
	mov	x1, x19
	bl	_nd_namespace_label_update
LBB0_9:
	mov	x2, x0
LBB0_10:
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh9:
	adrp	x9, l_.str.1@PAGE
Lloh10:
	add	x9, x9, l_.str.1@PAGEOFF
	add	x10, x21, x20
	ldurb	w10, [x10, #-1]
Lloh11:
	adrp	x11, l_.str.4@PAGE
Lloh12:
	add	x11, x11, l_.str.4@PAGEOFF
Lloh13:
	adrp	x12, l_.str.3@PAGE
Lloh14:
	add	x12, x12, l_.str.3@PAGEOFF
	cmp	w10, #10
	csel	x5, x12, x11, eq
	cmp	w2, #0
	csel	x3, x9, x8, lt
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	csel	w21, w21, w2, eq
	mov	x0, x19
	mov	x4, x20
	bl	_dev_dbg
	mov	x0, x19
	bl	_nvdimm_bus_unlock
	mov	x0, x19
	bl	_nd_device_unlock
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh17:
	adrp	x8, _ENXIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_blk_lbasize_supported,8,3      ; @blk_lbasize_supported
	.comm	_pmem_lbasize_supported,8,3     ; @pmem_lbasize_supported
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EBUSY,4,2                      ; @EBUSY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"result: %zd %s: %s%s"

l_.str.1:                               ; @.str.1
	.asciz	"tried"

l_.str.2:                               ; @.str.2
	.asciz	"wrote"

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

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

	.no_dead_strip	_sector_size_store
.subsections_via_symbols
