	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_sectoroob
_read_sectoroob:                        ## @read_sectoroob
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_oobbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_TFFS_SECTOR_OOB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movl	%edi, -8(%rbp)
	movq	_mtdfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MEMREADOOB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_ioctl
	sarq	$63, %rax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_oobbuf,4,2                     ## @oobbuf
	.comm	_TFFS_SECTOR_OOB_SIZE,4,2       ## @TFFS_SECTOR_OOB_SIZE
	.comm	_mtdfd,4,2                      ## @mtdfd
	.comm	_MEMREADOOB,4,2                 ## @MEMREADOOB
	.no_dead_strip	_read_sectoroob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_sectoroob
_read_sectoroob:                        ; @read_sectoroob
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _oobbuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _oobbuf@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TFFS_SECTOR_OOB_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TFFS_SECTOR_OOB_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [sp]
	str	w0, [sp, #8]
Lloh6:
	adrp	x8, _mtdfd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mtdfd@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _MEMREADOOB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MEMREADOOB@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	asr	x0, x0, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_oobbuf,4,2                     ; @oobbuf
	.comm	_TFFS_SECTOR_OOB_SIZE,4,2       ; @TFFS_SECTOR_OOB_SIZE
	.comm	_mtdfd,4,2                      ; @mtdfd
	.comm	_MEMREADOOB,4,2                 ; @MEMREADOOB
	.no_dead_strip	_read_sectoroob
.subsections_via_symbols
