	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nand_ooblayout_free_sp
_nand_ooblayout_free_sp:                ## @nand_ooblayout_free_sp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %esi
	jge	LBB0_1
## %bb.2:
	cmpl	$16, (%rdi)
	jne	LBB0_5
## %bb.3:
	testl	%esi, %esi
	je	LBB0_4
LBB0_1:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movl	$2, (%rdx)
	testl	%esi, %esi
	je	LBB0_6
## %bb.7:
	movl	$6, 4(%rdx)
	jmp	LBB0_8
LBB0_4:
	movabsq	$34359738376, %rax              ## imm = 0x800000008
	movq	%rax, (%rdx)
	jmp	LBB0_8
LBB0_6:
	movl	$3, 4(%rdx)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_nand_ooblayout_free_sp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nand_ooblayout_free_sp
_nand_ooblayout_free_sp:                ; @nand_ooblayout_free_sp
	.cfi_startproc
; %bb.0:
	cmp	w1, #2
	b.ge	LBB0_3
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, #16
	b.ne	LBB0_4
; %bb.2:
	cbz	w1, LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _ERANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_4:
	mov	w8, #2
	str	w8, [x2]
	mov	w0, #0
	cbz	w1, LBB0_7
; %bb.5:
	mov	w8, #6
	str	w8, [x2, #4]
	ret
LBB0_6:
	mov	w0, #0
	movi.2s	v0, #8
	str	d0, [x2]
	ret
LBB0_7:
	mov	w8, #3
	str	w8, [x2, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_nand_ooblayout_free_sp
.subsections_via_symbols
