	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sharpsl_nand_read_oob
_sharpsl_nand_read_oob:                 ## @sharpsl_nand_read_oob
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -32(%rbp)
	movq	$0, -16(%rbp)
	movq	_MTD_OPS_PLACE_OOB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	(%rdi), %rax
	movq	%rax, -40(%rbp)
	movq	%rdx, -24(%rbp)
	leaq	-40(%rbp), %rdx
	callq	_mtd_read_oob
	movl	%eax, %ecx
	movl	$-1, %eax
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	xorl	%eax, %eax
	cmpq	-32(%rbp), %rcx
	setne	%al
	negl	%eax
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTD_OPS_PLACE_OOB,4,2          ## @MTD_OPS_PLACE_OOB
	.no_dead_strip	_sharpsl_nand_read_oob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sharpsl_nand_read_oob
_sharpsl_nand_read_oob:                 ; @sharpsl_nand_read_oob
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _MTD_OPS_PLACE_OOB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTD_OPS_PLACE_OOB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x8, [x0]
	stp	x8, xzr, [sp]
	str	x2, [sp, #16]
	mov	x2, sp
	bl	_mtd_read_oob
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	csetm	w0, ne
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MTD_OPS_PLACE_OOB,4,2          ; @MTD_OPS_PLACE_OOB
	.no_dead_strip	_sharpsl_nand_read_oob
.subsections_via_symbols
