	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __nvm_config_extended
___nvm_config_extended:                 ## @__nvm_config_extended
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jne	LBB0_3
## %bb.1:
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmpl	$65535, 4(%rsi)                 ## imm = 0xFFFF
	jne	LBB0_3
## %bb.2:
	movl	$0, (%rsi)
	movl	(%rdi), %eax
	decl	%eax
	movl	%eax, 4(%rsi)
	xorl	%eax, %eax
LBB0_3:
	movl	8(%rsi), %ecx
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	jne	LBB0_6
## %bb.4:
	movq	_NVM_TARGET_DEFAULT_OP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rsi)
	jmp	LBB0_5
LBB0_6:
	movq	_NVM_TARGET_MIN_OP@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jl	LBB0_8
## %bb.7:
	movq	_NVM_TARGET_MAX_OP@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jg	LBB0_8
LBB0_5:
	movl	4(%rsi), %edx
	movl	%eax, %esi
	popq	%rbp
	jmp	_nvm_config_check_luns          ## TAILCALL
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVM_TARGET_DEFAULT_OP,4,2      ## @NVM_TARGET_DEFAULT_OP
	.comm	_NVM_TARGET_MIN_OP,4,2          ## @NVM_TARGET_MIN_OP
	.comm	_NVM_TARGET_MAX_OP,4,2          ## @NVM_TARGET_MAX_OP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid over provisioning value\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	___nvm_config_extended
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __nvm_config_extended
___nvm_config_extended:                 ; @__nvm_config_extended
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x1]
	mov	w9, #65535
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	ldr	w10, [x1, #4]
	mov	w8, #65535
	cmp	w10, w9
	b.ne	LBB0_3
; %bb.2:
	mov	w8, #0
	ldr	w10, [x0]
	sub	w10, w10, #1
	stp	wzr, w10, [x1]
LBB0_3:
	ldr	w10, [x1, #8]
	cmp	w10, w9
	b.ne	LBB0_5
; %bb.4:
Lloh0:
	adrp	x9, _NVM_TARGET_DEFAULT_OP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVM_TARGET_DEFAULT_OP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x1, #8]
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x9, _NVM_TARGET_MIN_OP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NVM_TARGET_MIN_OP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x11, _NVM_TARGET_MAX_OP@GOTPAGE
Lloh7:
	ldr	x11, [x11, _NVM_TARGET_MAX_OP@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	cmp	w10, w9
	ccmp	w10, w11, #0, ge
	b.le	LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w2, [x1, #4]
	mov	x1, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_nvm_config_check_luns
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NVM_TARGET_DEFAULT_OP,4,2      ; @NVM_TARGET_DEFAULT_OP
	.comm	_NVM_TARGET_MIN_OP,4,2          ; @NVM_TARGET_MIN_OP
	.comm	_NVM_TARGET_MAX_OP,4,2          ; @NVM_TARGET_MAX_OP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid over provisioning value\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	___nvm_config_extended
.subsections_via_symbols
