	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pblk_set_provision
_pblk_set_provision:                    ## @pblk_set_provision
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	64(%rdi), %r13
	movq	(%r13), %rax
	movq	_NVM_TARGET_DEFAULT_OP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_PBLK_DEFAULT_OP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_2:
	movq	%rax, (%r15)
	movq	%r15, %rdi
	callq	_pblk_get_min_chks
	movl	%eax, %r12d
	movl	$100, %ebx
	subl	(%r15), %ebx
	imull	%r14d, %ebx
	movl	%ebx, %edi
	movl	$100, %esi
	callq	_sector_div
	movl	%r14d, %eax
	subl	%ebx, %eax
	cmpl	%r12d, %eax
	jge	LBB0_6
## %bb.3:
	movq	(%r13), %rax
	movq	_NVM_TARGET_DEFAULT_OP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movl	%r14d, %ebx
	subl	%r12d, %ebx
	imull	$100, %r12d, %eax
	cltd
	idivl	%r14d
	movslq	%eax, %rdx
	movq	%rdx, (%r15)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_pblk_info
	movl	%r12d, %eax
LBB0_6:
	movl	%eax, 8(%r15)
	movl	%r14d, 24(%r15)
	movq	48(%r15), %rax
	movl	(%rax), %edi
	addl	40(%r15), %edi
	imull	56(%r15), %edi
	movl	8(%r13), %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %ecx
	movl	8(%r13), %eax
	cltd
	idivl	12(%r15)
	subl	%ecx, %ebx
	imull	%eax, %ebx
	imull	16(%r15), %ebx
	movl	%ebx, 20(%r15)
	leaq	32(%r15), %rdi
	movl	%r14d, %esi
	callq	_atomic_set
	addq	$28, %r15
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_atomic_set
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_pblk_err
	movq	_EINTR@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVM_TARGET_DEFAULT_OP,8,3      ## @NVM_TARGET_DEFAULT_OP
	.comm	_PBLK_DEFAULT_OP,8,3            ## @PBLK_DEFAULT_OP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OP too small to create a sane instance\n"

	.comm	_EINTR,4,2                      ## @EINTR
L_.str.1:                               ## @.str.1
	.asciz	"Default OP insufficient, adjusting OP to %d\n"

	.no_dead_strip	_pblk_set_provision
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pblk_set_provision
_pblk_set_provision:                    ; @pblk_set_provision
	.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	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #64]
	ldr	x8, [x23]
Lloh0:
	adrp	x24, _NVM_TARGET_DEFAULT_OP@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NVM_TARGET_DEFAULT_OP@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh2:
	adrp	x10, _PBLK_DEFAULT_OP@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PBLK_DEFAULT_OP@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x8, x10, x8, eq
	str	x8, [x0]
	bl	_pblk_get_min_chks
	mov	x22, x0
	ldr	w8, [x20]
	mov	w9, #100
	sub	w8, w9, w8
	mul	w21, w8, w19
	mov	x0, x21
	mov	w1, #100
	bl	_sector_div
	sub	w8, w19, w21
	cmp	w8, w22
	b.ge	LBB0_3
; %bb.1:
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	sub	w21, w19, w22
	mov	w8, #100
	mul	w8, w22, w8
	sdiv	w2, w8, w19
	sxtw	x8, w2
	str	x8, [x20]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_pblk_info
	mov	x8, x22
LBB0_3:
	str	w8, [x20, #8]
	str	w19, [x20, #24]
	ldr	w8, [x20, #40]
	ldr	x9, [x20, #48]
	ldr	w9, [x9]
	add	w8, w9, w8
	ldr	w9, [x20, #56]
	mul	w0, w8, w9
	ldr	w1, [x23, #8]
	bl	_DIV_ROUND_UP
	ldr	w8, [x23, #8]
	ldp	w9, w10, [x20, #12]
	sdiv	w8, w8, w9
	sub	w9, w21, w0
	mul	w8, w8, w9
	mul	w8, w8, w10
	str	w8, [x20, #20]
	add	x0, x20, #32
	mov	x1, x19
	bl	_atomic_set
	add	x0, x20, #28
	mov	x1, x19
	bl	_atomic_set
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pblk_err
Lloh9:
	adrp	x8, _EINTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NVM_TARGET_DEFAULT_OP,8,3      ; @NVM_TARGET_DEFAULT_OP
	.comm	_PBLK_DEFAULT_OP,8,3            ; @PBLK_DEFAULT_OP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OP too small to create a sane instance\n"

	.comm	_EINTR,4,2                      ; @EINTR
l_.str.1:                               ; @.str.1
	.asciz	"Default OP insufficient, adjusting OP to %d\n"

	.no_dead_strip	_pblk_set_provision
.subsections_via_symbols
